| Index: test/cctest/test-api-interceptors.cc
|
| diff --git a/test/cctest/test-api-interceptors.cc b/test/cctest/test-api-interceptors.cc
|
| index 3327d782f7cff1e4fec748be5718a2f588766789..19f9b400ac0381d09f971b8c41112bdb703363ac 100644
|
| --- a/test/cctest/test-api-interceptors.cc
|
| +++ b/test/cctest/test-api-interceptors.cc
|
| @@ -1582,7 +1582,8 @@ void SloppyArgsIndexedPropertyEnumerator(
|
| Local<Object> result =
|
| Local<Object>::Cast(indexed_property_names_script->Run());
|
| // Have to populate the handle manually, as it's not Cast-able.
|
| - i::Handle<i::JSObject> o = v8::Utils::OpenHandle<Object, i::JSObject>(result);
|
| + i::Handle<i::JSReceiver> o =
|
| + v8::Utils::OpenHandle<Object, i::JSReceiver>(result);
|
| i::Handle<i::JSArray> array(reinterpret_cast<i::JSArray*>(*o));
|
| info.GetReturnValue().Set(v8::Utils::ToLocal(array));
|
| }
|
|
|