Index: src/json-parser.h |
diff --git a/src/json-parser.h b/src/json-parser.h |
index 533e63152004b5fb58455e4829f0752b07087b39..5d8033a42129602fc40e8eaf985f098e1c1f8709 100644 |
--- a/src/json-parser.h |
+++ b/src/json-parser.h |
@@ -59,7 +59,7 @@ class JsonParser BASE_EMBEDDED { |
object_constructor_(isolate_->native_context()->object_function(), |
isolate_), |
position_(-1) { |
- FlattenString(source_); |
+ source_ = String::Flatten(source_); |
pretenure_ = (source_length_ >= kPretenureTreshold) ? TENURED : NOT_TENURED; |
// Optimized fast case where we only have ASCII characters. |