[api] Deprecate Local<v8::Context> v8::Object::CreationContext()

Bug: v8:11165
Change-Id: I7c00d2dc87b232b24c4760922936580347358778
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3395881
Auto-Submit: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78663}
This commit is contained in:
Camillo Bruni 2022-01-18 09:39:21 +01:00 committed by V8 LUCI CQ
parent ff2a8f39f2
commit 0a61fa5184

View File

@ -594,7 +594,7 @@ class V8_EXPORT Object : public Value {
/**
* Returns the context in which the object was created.
*/
V8_DEPRECATE_SOON("Use MaybeLocal<Context> GetCreationContext()")
V8_DEPRECATED("Use MaybeLocal<Context> GetCreationContext()")
Local<Context> CreationContext();
MaybeLocal<Context> GetCreationContext();