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

Unified Diff: runtime/vm/heap_profiler.h

Issue 10696029: Implement a 2-pass heap verification algorithm. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add missing delete Created 8 years, 6 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
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);

Powered by Google App Engine
This is Rietveld 408576698