Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index c63a93885d631614cfa6c19058663f480b6693dc..c28c690bb678e13ee621791daf208b6e3367ac85 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -6034,7 +6034,7 @@ RUNTIME_FUNCTION(Runtime_GetNamedInterceptorPropertyNames) { |
CONVERT_ARG_HANDLE_CHECKED(JSObject, obj, 0); |
if (obj->HasNamedInterceptor()) { |
- Handle<JSArray> result; |
+ Handle<JSObject> result; |
if (JSObject::GetKeysForNamedInterceptor(obj, obj).ToHandle(&result)) { |
return *result; |
} |
@@ -6051,7 +6051,7 @@ RUNTIME_FUNCTION(Runtime_GetIndexedInterceptorElementNames) { |
CONVERT_ARG_HANDLE_CHECKED(JSObject, obj, 0); |
if (obj->HasIndexedInterceptor()) { |
- Handle<JSArray> result; |
+ Handle<JSObject> result; |
if (JSObject::GetKeysForIndexedInterceptor(obj, obj).ToHandle(&result)) { |
return *result; |
} |