Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index dd3fa51f178773666bfaea8e21b797641f4bf053..bca6bf1b6fd1c99f762ec307452661e0477d2300 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -542,13 +542,13 @@ |
* critical form of resource management! |
*/ |
template <typename P> |
- V8_INLINE V8_DEPRECATED( |
+ V8_INLINE V8_DEPRECATE_SOON( |
"use WeakCallbackInfo version", |
void SetWeak(P* parameter, |
typename WeakCallbackData<T, P>::Callback callback)); |
template <typename S, typename P> |
- V8_INLINE V8_DEPRECATED( |
+ V8_INLINE V8_DEPRECATE_SOON( |
"use WeakCallbackInfo version", |
void SetWeak(P* parameter, |
typename WeakCallbackData<S, P>::Callback callback)); |
@@ -560,7 +560,7 @@ |
// specify a parameter for the callback or the location of two internal |
// fields in the dying object. |
template <typename P> |
- V8_INLINE V8_DEPRECATED( |
+ V8_INLINE V8_DEPRECATE_SOON( |
"use SetWeak", |
void SetPhantom(P* parameter, |
typename WeakCallbackInfo<P>::Callback callback, |