[API] Deprecate second OnCriticalMemoryPressure

Move forward with the deprecation.

R=mlippautz@chromium.org

Bug: chromium:634547
Change-Id: I46227ee119923d7f6ac364769718e5bca90686e7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3780531
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82627}
This commit is contained in:
Clemens Backes 2022-07-22 09:19:41 +02:00 committed by V8 LUCI CQ
parent 9dc5cd08ad
commit 24cf9bd945

View File

@ -952,7 +952,7 @@ class Platform {
*
* Embedder overrides of this function must NOT call back into V8.
*/
V8_DEPRECATE_SOON("Use the method without informative parameter")
V8_DEPRECATED("Use the method without informative parameter")
virtual bool OnCriticalMemoryPressure(size_t length) { return false; }
/**