File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,6 +256,9 @@ class V8_EXPORT Context : public Data {
256256 Maybe<void > DeepFreeze (DeepFreezeDelegate* delegate = nullptr );
257257
258258 /* * Returns the isolate associated with a current context. */
259+ V8_DEPRECATE_SOON (
260+ " Use Isolate::GetCurrent() instead, which is guaranteed to return the "
261+ " same isolate since https://crrev.com/c/6458560." )
259262 Isolate* GetIsolate();
260263
261264 /* * Returns the microtask queue associated with a current context. */
Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ class ReturnValue {
6666 V8_INLINE void Set (uint16_t i);
6767 V8_INLINE void Set (uint32_t i);
6868 V8_INLINE void Set (uint64_t i);
69- // Fast JS primitive setters
69+ // Fast JS primitive setters.
7070 V8_INLINE void SetNull ();
7171 V8_INLINE void SetUndefined ();
7272 V8_INLINE void SetFalse ();
7373 V8_INLINE void SetEmptyString ();
74- // Convenience getter for Isolate
74+ // Convenience getter for the Isolate.
7575 V8_INLINE Isolate* GetIsolate () const ;
7676
7777 // Pointer setter: Uncompilable to prevent inadvertent misuse.
Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ class V8_EXPORT Message {
111111 /* *
112112 * Return the isolate to which the Message belongs.
113113 */
114+ V8_DEPRECATE_SOON (
115+ " Use Isolate::GetCurrent() instead, which is guaranteed to return the "
116+ " same isolate since https://crrev.com/c/6458560." )
114117 Isolate* GetIsolate () const ;
115118
116119 V8_WARN_UNUSED_RESULT MaybeLocal<String> GetSource (
Original file line number Diff line number Diff line change @@ -795,8 +795,14 @@ class V8_EXPORT Object : public Value {
795795 /* *
796796 * Return the isolate to which the Object belongs to.
797797 */
798+ V8_DEPRECATE_SOON (
799+ " Use Isolate::GetCurrent() instead, which is guaranteed to return the "
800+ " same isolate since https://crrev.com/c/6458560." )
798801 Isolate* GetIsolate ();
799802
803+ V8_DEPRECATE_SOON (
804+ " Use Isolate::GetCurrent() instead, which is guaranteed to return the "
805+ " same isolate since https://crrev.com/c/6458560." )
800806 V8_INLINE static Isolate* GetIsolate (const TracedReference<Object>& handle) {
801807 return handle.template value <Object>()->GetIsolate ();
802808 }
You can’t perform that action at this time.
0 commit comments