Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 94293341c577af45cd952c537dfcbfc234fe82b4..5de9b6c340a26fa80ec0d7b3c63090b895f50585 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -647,7 +647,7 @@ Handle<FixedArray> GetKeysInFixedArrayFor(Handle<JSReceiver> object, |
// Only collect keys if access is permitted. |
for (Handle<Object> p = object; |
*p != isolate->heap()->null_value(); |
- p = Handle<Object>(p->GetPrototype(), isolate)) { |
+ p = Handle<Object>(p->GetPrototype(isolate), isolate)) { |
if (p->IsJSProxy()) { |
Handle<JSProxy> proxy(JSProxy::cast(*p), isolate); |
Handle<Object> args[] = { proxy }; |