From: dcarney Date: Mon, 27 Apr 2015 13:06:47 +0000 (-0700) Subject: deprecate non-phantom weak callbacks X-Git-Tag: upstream/4.7.83~2963 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39c31da2142ab0fca9dae279b9e59cd4951a1982;p=platform%2Fupstream%2Fv8.git deprecate non-phantom weak callbacks BUG= Review URL: https://codereview.chromium.org/1103173002 Cr-Commit-Position: refs/heads/master@{#28077} --- diff --git a/include/v8.h b/include/v8.h index bca6bf1..dd3fa51 100644 --- a/include/v8.h +++ b/include/v8.h @@ -542,13 +542,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)); @@ -560,7 +560,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,