| Index: src/json-parser.h
|
| ===================================================================
|
| --- src/json-parser.h (revision 8778)
|
| +++ src/json-parser.h (working copy)
|
| @@ -166,7 +166,8 @@
|
| template <bool seq_ascii>
|
| Handle<Object> JsonParser<seq_ascii>::ParseJson(Handle<String> source) {
|
| isolate_ = source->map()->GetHeap()->isolate();
|
| - source_ = Handle<String>(source->TryFlattenGetString());
|
| + FlattenString(source);
|
| + source_ = source;
|
| source_length_ = source_->length();
|
|
|
| // Optimized fast case where we only have ASCII characters.
|
|
|