| Index: test/cctest/test-cpu-profiler.cc
|
| diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc
|
| index 0e18dbb32552fa1f68e626fe226861458466e5f9..3fb5d3ae2cb636888b69e6acb52579ceafede81d 100644
|
| --- a/test/cctest/test-cpu-profiler.cc
|
| +++ b/test/cctest/test-cpu-profiler.cc
|
| @@ -953,7 +953,7 @@ TEST(FunctionCallSample) {
|
| v8::HandleScope scope(env->GetIsolate());
|
|
|
| // Collect garbage that might have be generated while installing extensions.
|
| - HEAP->CollectAllGarbage(Heap::kNoGCFlags);
|
| + CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags);
|
|
|
| v8::Script::Compile(v8::String::New(call_function_test_source))->Run();
|
| v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast(
|
|
|