Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index 125e6c7036f5fbd87dd68f005b126a13349dce57..c3148ff5663e48bf36aa3df42e1066a649bc474c 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -317,7 +317,7 @@ static void CheckAccessorArgsCorrect( |
CHECK(info.GetIsolate() == CcTest::isolate()); |
CHECK(info.This() == info.Holder()); |
CHECK(info.Data()->Equals(v8::String::New("data"))); |
- HEAP->CollectAllGarbage(i::Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags); |
CHECK(info.GetIsolate() == CcTest::isolate()); |
CHECK(info.This() == info.Holder()); |
CHECK(info.Data()->Equals(v8::String::New("data"))); |