Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index 26a55ac75b36489e84028946e265318abce52fbb..3493eb346c230f8759afad47a0bc883b060f8acb 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -977,8 +977,7 @@ RUNTIME_FUNCTION(Runtime_GetIndexedInterceptorElementNames) { |
RUNTIME_FUNCTION(Runtime_OwnKeys) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 1); |
- CONVERT_ARG_CHECKED(JSObject, raw_object, 0); |
- Handle<JSObject> object(raw_object); |
+ CONVERT_ARG_HANDLE_CHECKED(JSReceiver, object, 0); |
Handle<FixedArray> contents; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |