Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index 4db0d83cb82047324be13ca8861d628e232676be..aec3e0e8384f8015226ff7291e166f984942ff4d 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -358,13 +358,13 @@ class HeapObjectsTracker { |
HeapObjectsTracker() { |
heap_profiler_ = i::Isolate::Current()->heap_profiler(); |
CHECK_NE(NULL, heap_profiler_); |
- heap_profiler_->StartHeapAllocationsRecording(); |
+ heap_profiler_->StartHeapObjectsTracking(true); |
} |
~HeapObjectsTracker() { |
i::Isolate::Current()->heap()->CollectAllAvailableGarbage(); |
CHECK_EQ(0, heap_profiler_->FindUntrackedObjects()); |
- heap_profiler_->StopHeapAllocationsRecording(); |
+ heap_profiler_->StopHeapObjectsTracking(); |
} |
private: |