Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 765bf5af2adada994dca24655ad6495274057c2a..74cb0493eb01c595739fcb10f92e2b82fae4f624 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -776,7 +776,9 @@ class JsonParser BASE_EMBEDDED { |
} |
private: |
- JsonParser() : isolate_(Isolate::Current()), scanner_(isolate_) { } |
+ JsonParser() |
+ : isolate_(Isolate::Current()), |
+ scanner_(isolate_->scanner_constants()) { } |
~JsonParser() { } |
Isolate* isolate() { return isolate_; } |