Index: runtime/vm/heap_profiler.h |
diff --git a/runtime/vm/heap_profiler.h b/runtime/vm/heap_profiler.h |
index 739036457f85e97f138ab4ee982d7c2f2c48d307..ec4570c1be695ffd316b08049780e225537d44e8 100644 |
--- a/runtime/vm/heap_profiler.h |
+++ b/runtime/vm/heap_profiler.h |
@@ -297,8 +297,8 @@ class HeapProfilerWeakRootVisitor : public HandleVisitor { |
// Writes a sub-record to the heap dump for every object in the heap. |
class HeapProfilerObjectVisitor : public ObjectVisitor { |
public: |
- explicit HeapProfilerObjectVisitor(HeapProfiler* profiler) |
- : profiler_(profiler) { |
+ HeapProfilerObjectVisitor(Isolate* isolate, HeapProfiler* profiler) |
+ : ObjectVisitor(isolate), profiler_(profiler) { |
} |
virtual void VisitObject(RawObject* obj); |