Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index aec3e0e8384f8015226ff7291e166f984942ff4d..40e9b9a23454d34f7724dc0d5fd97fcaabb4810f 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -363,7 +363,7 @@ class HeapObjectsTracker { |
~HeapObjectsTracker() { |
i::Isolate::Current()->heap()->CollectAllAvailableGarbage(); |
- CHECK_EQ(0, heap_profiler_->FindUntrackedObjects()); |
+ CHECK_EQ(0, heap_profiler_->heap_object_map()->FindUntrackedObjects()); |
heap_profiler_->StopHeapObjectsTracking(); |
} |