Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index af1ffab59c3b2928da8ea35ebc90d24774dda3ca..9ebe614ee28da9500ce579e9022809218caf8103 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -457,10 +457,9 @@ MaybeHandle<FixedArray> GetKeysInFixedArrayFor(Handle<JSReceiver> object, |
// Check access rights if required. |
if (current->IsAccessCheckNeeded() && |
- !isolate->MayNamedAccessWrapper(current, |
- isolate->factory()->undefined_value(), |
- v8::ACCESS_KEYS)) { |
- isolate->ReportFailedAccessCheckWrapper(current, v8::ACCESS_KEYS); |
+ !isolate->MayNamedAccess( |
+ current, isolate->factory()->undefined_value(), v8::ACCESS_KEYS)) { |
+ isolate->ReportFailedAccessCheck(current, v8::ACCESS_KEYS); |
RETURN_EXCEPTION_IF_SCHEDULED_EXCEPTION(isolate, FixedArray); |
break; |
} |