Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 56d774f5d88ded561c9d4d65f21050ee0b478cb2..c04c05e577b64ecf75dbd3922612aa94f7e7f6bb 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -1205,7 +1205,7 @@ class Heap { |
void SetEmbedderHeapTracer(EmbedderHeapTracer* tracer); |
- bool UsingEmbedderHeapTracer() { return embedder_heap_tracer(); } |
+ bool UsingEmbedderHeapTracer() { return embedder_heap_tracer() != nullptr; } |
void TracePossibleWrapper(JSObject* js_object); |