Index: src/heap/embedder-tracing.cc |
diff --git a/src/heap/embedder-tracing.cc b/src/heap/embedder-tracing.cc |
index 97d4fac8cc01f31242ccb75f244faf71ed0ccdd2..2d1172418119ae21812ce8db7481c830bd166c4a 100644 |
--- a/src/heap/embedder-tracing.cc |
+++ b/src/heap/embedder-tracing.cc |
@@ -41,7 +41,7 @@ bool LocalEmbedderHeapTracer::Trace( |
double deadline, EmbedderHeapTracer::AdvanceTracingActions actions) { |
if (!InUse()) return false; |
- RegisterWrappersWithRemoteTracer(); |
+ DCHECK_EQ(0, NumberOfCachedWrappersToTrace()); |
return remote_tracer_->AdvanceTracing(deadline, actions); |
} |