Index: src/json-parser.h |
diff --git a/src/json-parser.h b/src/json-parser.h |
index ba05230ceeea7655229be8cf94696cab21e857e5..a4db130e2571bde2fea5d98aed4e572ad492b511 100644 |
--- a/src/json-parser.h |
+++ b/src/json-parser.h |
@@ -290,7 +290,7 @@ Handle<Object> JsonParser<seq_ascii>::ParseJsonValue() { |
template <bool seq_ascii> |
Handle<Object> JsonParser<seq_ascii>::ParseJsonObject() { |
Handle<JSFunction> object_constructor( |
- isolate()->global_context()->object_function()); |
+ isolate()->native_context()->object_function()); |
Handle<JSObject> json_object = |
isolate()->factory()->NewJSObject(object_constructor); |
ASSERT_EQ(c0_, '{'); |