Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 1970c2debc5bee05c2a555ada95d6b519d052232..1b108cece199c0b01c488837655318aef721c2e0 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -340,7 +340,7 @@ void BasicJsonStringifier::Append_(const Char* chars) { |
MaybeHandle<Object> BasicJsonStringifier::ApplyToJsonFunction( |
Handle<Object> object, Handle<Object> key) { |
LookupIterator it(object, tojson_string_, |
- LookupIterator::CHECK_DERIVED_SKIP_INTERCEPTOR); |
+ LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); |
Handle<Object> fun; |
ASSIGN_RETURN_ON_EXCEPTION(isolate_, fun, Object::GetProperty(&it), Object); |
if (!fun->IsJSFunction()) return object; |