| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 2933c974a0e84d5b3b92de037c25e944ec63255b..76bfc9b459923d5f0369ebad873713e1167afb92 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -789,7 +789,7 @@ static MayAccessDecision MayAccessPreCheck(Isolate* isolate,
|
| if (isolate->bootstrapper()->IsActive()) return YES;
|
|
|
| if (receiver->IsJSGlobalProxy()) {
|
| - Object* receiver_context = JSGlobalProxy::cast(receiver)->context();
|
| + Object* receiver_context = JSGlobalProxy::cast(receiver)->native_context();
|
| if (!receiver_context->IsContext()) return NO;
|
|
|
| // Get the native context of current top context.
|
|
|