Index: test/cctest/test-ast.cc |
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc |
index 096d5c788f9e03735f70461f9965793e794db3b0..7d8b4059f581c4d9f60ea1d7648986147e117fba 100644 |
--- a/test/cctest/test-ast.cc |
+++ b/test/cctest/test-ast.cc |
@@ -38,8 +38,7 @@ TEST(List) { |
List<AstNode*>* list = new List<AstNode*>(0); |
CHECK_EQ(0, list->length()); |
- Isolate* isolate = CcTest::i_isolate(); |
- Zone zone(isolate); |
+ Zone zone; |
AstValueFactory value_factory(&zone, 0); |
AstNodeFactory factory(&value_factory); |
AstNode* node = factory.NewEmptyStatement(RelocInfo::kNoPosition); |