Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: src/heap/heap.h

Issue 2379623002: Make UsingEmbedderHeapTracer nicer (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698