Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index e4215245d7fa972e613e78df1ce1509a08d3567b..717c66519ff2e46c519ebdbd9a10ac9c87d51a61 100755 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -354,7 +354,8 @@ TEST(Regress928) { |
v8::HandleScope handles; |
i::Handle<i::String> source( |
FACTORY->NewStringFromAscii(i::CStrVector(program))); |
- i::ScriptDataImpl* data = i::ParserApi::PartialPreParse(source, NULL, false); |
+ i::GenericStringUtf16CharacterStream stream(source, 0, source->length()); |
+ i::ScriptDataImpl* data = i::ParserApi::PreParse(&stream, NULL, false); |
CHECK(!data->HasError()); |
data->Initialize(); |