Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 4a6345910f978176c56c6476f232dd0e58e496c8..a287b4c9c9bdd08b81b370c2e04afe47cd180758 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3567,9 +3567,9 @@ static Local<Value> GetPropertyByLookup(i::Isolate* isolate, |
// If the property being looked up is a callback, it can throw |
// an exception. |
EXCEPTION_PREAMBLE(isolate); |
- i::LookupIterator it( |
- receiver, name, i::Handle<i::JSReceiver>(lookup->holder(), isolate), |
- i::LookupIterator::SKIP_INTERCEPTOR); |
+ i::LookupIterator it(receiver, name, |
+ i::Handle<i::JSReceiver>(lookup->holder(), isolate), |
+ i::LookupIterator::CHECK_DERIVED_SKIP_INTERCEPTOR); |
i::Handle<i::Object> result; |
has_pending_exception = !i::Object::GetProperty(&it).ToHandle(&result); |
EXCEPTION_BAILOUT_CHECK(isolate, Local<Value>()); |