api: Forward TracedReference deprecation

Change-Id: Ifc3100595c88a374ac41cb0d90825c23c1cae756
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1980704
Auto-Submit: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65609}
This commit is contained in:
Michael Lippautz 2020-01-03 15:28:52 +01:00 committed by Commit Bot
parent 06d09abb5a
commit ab723525b2

View File

@ -1161,7 +1161,7 @@ class TracedReference : public TracedReferenceBase<T> {
* involving V8 needs to be done, a second callback can be scheduled using * involving V8 needs to be done, a second callback can be scheduled using
* WeakCallbackInfo<void>::SetSecondPassCallback. * WeakCallbackInfo<void>::SetSecondPassCallback.
*/ */
V8_DEPRECATE_SOON("Use TracedGlobal<> if callbacks are required.") V8_DEPRECATED("Use TracedGlobal<> if callbacks are required.")
V8_INLINE void SetFinalizationCallback( V8_INLINE void SetFinalizationCallback(
void* parameter, WeakCallbackInfo<void>::Callback callback); void* parameter, WeakCallbackInfo<void>::Callback callback);
}; };