Reland "cppgc: Move forward Trace(T*) deprecation"

This is a reland of commit 0609bb8373

Original change's description:
> cppgc: Move forward Trace(T*) deprecation
>
> Bug: v8:13089
> Change-Id: I271addd3a80feaa40520ab2768a2380c3d7ab62f
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3780821
> Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
> Reviewed-by: Anton Bikineev <bikineev@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#81939}

Bug: v8:13089
Change-Id: I34eaa119bea1d515c942bbb654ec05adb1ef2836
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3787873
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81961}
This commit is contained in:
Michael Lippautz 2022-07-25 14:20:26 +02:00 committed by V8 LUCI CQ
parent b10bff90d0
commit f7ad199e4a

View File

@ -68,7 +68,7 @@ class V8_EXPORT Visitor {
* \param member Reference retaining an object.
*/
template <typename T>
V8_DEPRECATE_SOON("Do not use Trace() with raw pointers.")
V8_DEPRECATED("Do not use Trace() with raw pointers.")
void Trace(const T* t) {
TraceImpl(t);
}