| Index: src/json-parser.h
|
| diff --git a/src/json-parser.h b/src/json-parser.h
|
| index ddc3b736e3624aa556c46798bb13e49842ff87be..3ef49a2d48f483e074b555e8bddce289889afbb8 100644
|
| --- a/src/json-parser.h
|
| +++ b/src/json-parser.h
|
| @@ -106,7 +106,7 @@ class JsonParser BASE_EMBEDDED {
|
| bool ParseJsonString(Handle<String> expected) {
|
| int length = expected->length();
|
| if (source_->length() - position_ - 1 > length) {
|
| - AssertNoAllocation no_gc;
|
| + DisallowHeapAllocation no_gc;
|
| String::FlatContent content = expected->GetFlatContent();
|
| if (content.IsAscii()) {
|
| ASSERT_EQ('"', c0_);
|
|
|