| Index: test/cctest/cctest.h
|
| diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
|
| index 4db0d83cb82047324be13ca8861d628e232676be..40e9b9a23454d34f7724dc0d5fd97fcaabb4810f 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();
|
| + CHECK_EQ(0, heap_profiler_->heap_object_map()->FindUntrackedObjects());
|
| + heap_profiler_->StopHeapObjectsTracking();
|
| }
|
|
|
| private:
|
|
|