Index: test/cctest/test-ast.cc |
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc |
index 9f20110801db244c7b8a9e9ba7994dd3a7200594..36766cb37607e8ace2b14b353f55087fdced5f62 100644 |
--- a/test/cctest/test-ast.cc |
+++ b/test/cctest/test-ast.cc |
@@ -39,7 +39,7 @@ TEST(List) { |
List<AstNode*>* list = new List<AstNode*>(0); |
CHECK_EQ(0, list->length()); |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
Zone zone(isolate); |
AstNodeFactory<AstNullVisitor> factory(isolate, &zone); |
AstNode* node = factory.NewEmptyStatement(); |