Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 37204c9a018e9aa8d6010e8645717f314f957ab2..389daacbac255a99d2ce68cfb433113d985d42ca 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -5311,7 +5311,7 @@ static ScriptDataImpl* DoPreParse(UC16CharacterStream* source, |
int flags, |
ParserRecorder* recorder) { |
Isolate* isolate = Isolate::Current(); |
- JavaScriptScanner scanner(isolate->unicode_cache()); |
+ Scanner scanner(isolate->unicode_cache()); |
scanner.SetHarmonyScoping((flags & kHarmonyScoping) != 0); |
scanner.Initialize(source); |
intptr_t stack_limit = isolate->stack_guard()->real_climit(); |