Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 7eb6746dfbebb802e1c7c18fb18c389e600bf230..1b5175389e3f8bf56c42df194323aec9d8f49394 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -675,7 +675,7 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeJSObject( |
Handle<FixedArray> contents; |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
isolate_, contents, |
- JSReceiver::GetKeys(object, JSReceiver::LOCAL_ONLY), |
+ JSReceiver::GetKeys(object, JSReceiver::OWN_ONLY), |
EXCEPTION); |
for (int i = 0; i < contents->length(); i++) { |