Index: src/json-parser.h |
diff --git a/src/json-parser.h b/src/json-parser.h |
index caa2e14d2c311d2ab58566dba53753afaff47567..d3148c9e21ed295fb8d8bace1924eb080be2e680 100644 |
--- a/src/json-parser.h |
+++ b/src/json-parser.h |
@@ -426,8 +426,7 @@ Handle<Object> JsonParser<seq_one_byte>::ParseJsonObject() { |
if (value.is_null()) return ReportUnexpectedCharacter(); |
} |
- JSObject::SetOwnPropertyIgnoreAttributes( |
- json_object, key, value, NONE).Assert(); |
+ Runtime::DefineObjectProperty(json_object, key, value, NONE).Check(); |
} while (MatchSkipWhiteSpace(',')); |
if (c0_ != '}') { |
return ReportUnexpectedCharacter(); |