diff --git a/include/v8.h b/include/v8.h index 7f4ebebcd2..338abdabcf 100644 --- a/include/v8.h +++ b/include/v8.h @@ -424,12 +424,12 @@ class WeakCallbackInfo { V8_INLINE T* GetParameter() const { return parameter_; } V8_INLINE void* GetInternalField(int index) const; - V8_INLINE V8_DEPRECATE_SOON("use indexed version", - void* GetInternalField1() const) { + V8_INLINE V8_DEPRECATED("use indexed version", + void* GetInternalField1() const) { return internal_fields_[0]; } - V8_INLINE V8_DEPRECATE_SOON("use indexed version", - void* GetInternalField2() const) { + V8_INLINE V8_DEPRECATED("use indexed version", + void* GetInternalField2() const) { return internal_fields_[1]; } @@ -555,13 +555,13 @@ template class PersistentBase { * critical form of resource management! */ template - V8_INLINE V8_DEPRECATE_SOON( + V8_INLINE V8_DEPRECATED( "use WeakCallbackInfo version", void SetWeak(P* parameter, typename WeakCallbackData::Callback callback)); template - V8_INLINE V8_DEPRECATE_SOON( + V8_INLINE V8_DEPRECATED( "use WeakCallbackInfo version", void SetWeak(P* parameter, typename WeakCallbackData::Callback callback)); @@ -573,7 +573,7 @@ template class PersistentBase { // specify a parameter for the callback or the location of two internal // fields in the dying object. template - V8_INLINE V8_DEPRECATE_SOON( + V8_INLINE V8_DEPRECATED( "use SetWeak", void SetPhantom(P* parameter, typename WeakCallbackInfo

::Callback callback, @@ -1317,10 +1317,10 @@ class V8_EXPORT ScriptCompiler { * \return Compiled script object (context independent; for running it must be * bound to a context). */ - static V8_DEPRECATE_SOON("Use maybe version", - Local CompileUnbound( - Isolate* isolate, Source* source, - CompileOptions options = kNoCompileOptions)); + static V8_DEPRECATED("Use maybe version", + Local CompileUnbound( + Isolate* isolate, Source* source, + CompileOptions options = kNoCompileOptions)); static V8_WARN_UNUSED_RESULT MaybeLocal CompileUnboundScript( Isolate* isolate, Source* source, CompileOptions options = kNoCompileOptions); @@ -1336,7 +1336,7 @@ class V8_EXPORT ScriptCompiler { * when this function was called. When run it will always use this * context. */ - static V8_DEPRECATE_SOON( + static V8_DEPRECATED( "Use maybe version", Local