| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index 2098c1cea933edce48ef63ed72116e377eace8b1..7b2f74702d223cef34752a88881739b08e21ad6c 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -184,8 +184,7 @@ RUNTIME_FUNCTION(Runtime_GetPrototype) {
|
| PrototypeIterator iter(isolate, obj, PrototypeIterator::START_AT_RECEIVER);
|
| do {
|
| if (PrototypeIterator::GetCurrent(iter)->IsAccessCheckNeeded() &&
|
| - !isolate->MayAccess(
|
| - Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter)))) {
|
| + !isolate->MayAccess(PrototypeIterator::GetCurrent<JSObject>(iter))) {
|
| return isolate->heap()->null_value();
|
| }
|
| iter.AdvanceIgnoringProxies();
|
|
|