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