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