Commit 36707481 authored by Camillo Bruni's avatar Camillo Bruni Committed by V8 LUCI CQ

[api] Advance API deprecation for methods last changed in v9.8

Part I: V8_DEPRECATED_SOON => V8_DEPRECATED

Bug: v8:11165
Change-Id: I1f7191436ea03d341a0adcb29c8e0c811a12c51d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417434Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78812}
parent 517ed4ad
......@@ -202,7 +202,7 @@ class V8_EXPORT EmbedderHeapTracer {
*
* Should only be used in testing code.
*/
V8_DEPRECATE_SOON("Use Isolate::RequestGarbageCollectionForTesting instead")
V8_DEPRECATED("Use Isolate::RequestGarbageCollectionForTesting instead")
void GarbageCollectionForTesting(EmbedderStackState stack_state);
/*
......
......@@ -183,7 +183,7 @@ class V8_EXPORT V8 {
* V8 was disposed.
*/
static void DisposePlatform();
V8_DEPRECATE_SOON("Use DisposePlatform()")
V8_DEPRECATED("Use DisposePlatform()")
static void ShutdownPlatform() { DisposePlatform(); }
#ifdef V8_SANDBOX
......
......@@ -628,7 +628,7 @@ class V8_EXPORT Isolate {
* This specifies the callback called by the upcoming dynamic
* import() language feature to load modules.
*/
V8_DEPRECATE_SOON("Use HostImportModuleDynamicallyCallback")
V8_DEPRECATED("Use HostImportModuleDynamicallyCallback")
void SetHostImportModuleDynamicallyCallback(
HostImportModuleDynamicallyWithImportAssertionsCallback callback);
void SetHostImportModuleDynamicallyCallback(
......
......@@ -47,7 +47,7 @@ class V8_EXPORT ScriptOrModule {
* The options that were passed by the embedder as HostDefinedOptions to
* the ScriptOrigin.
*/
V8_DEPRECATE_SOON("Use HostDefinedOptions")
V8_DEPRECATED("Use HostDefinedOptions")
Local<PrimitiveArray> GetHostDefinedOptions();
Local<Data> HostDefinedOptions();
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment