Commit 2616df73 authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

[embedder-tracing] Fully deprecate old APIs

Embedders should use the mentioned replacements.

Bug: chromium:843903
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I7b7d6a086fd5fe5df3b6d0c4a91bb834c699600d
Reviewed-on: https://chromium-review.googlesource.com/1196444Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55522}
parent 5bbd1921
......@@ -7050,9 +7050,9 @@ class V8_EXPORT EmbedderHeapTracer {
* Note: Only one of the AdvanceTracing methods needs to be overriden by the
* embedder.
*/
V8_DEPRECATE_SOON("Use void AdvanceTracing(deadline_in_ms)",
virtual bool AdvanceTracing(
double deadline_in_ms, AdvanceTracingActions actions)) {
V8_DEPRECATED("Use void AdvanceTracing(deadline_in_ms)",
virtual bool AdvanceTracing(double deadline_in_ms,
AdvanceTracingActions actions)) {
return false;
}
......@@ -7091,8 +7091,8 @@ class V8_EXPORT EmbedderHeapTracer {
* Note: Only one of the EnterFinalPause methods needs to be overriden by the
* embedder.
*/
V8_DEPRECATE_SOON("Use void EnterFinalPause(EmbedderStackState)",
virtual void EnterFinalPause()) {}
V8_DEPRECATED("Use void EnterFinalPause(EmbedderStackState)",
virtual void EnterFinalPause()) {}
virtual void EnterFinalPause(EmbedderStackState stack_state);
/**
......@@ -7130,8 +7130,7 @@ class V8_EXPORT EmbedderHeapTracer {
/**
* Returns the number of wrappers that are still to be traced by the embedder.
*/
V8_DEPRECATE_SOON("Use IsTracingDone",
virtual size_t NumberOfWrappersToTrace()) {
V8_DEPRECATED("Use IsTracingDone", virtual size_t NumberOfWrappersToTrace()) {
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment