Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index d5e57562551a8944b11cc613909bd349c03ac9be..3eee48611f4f962d788406029473f2a64d45e8a8 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -723,8 +723,8 @@ RUNTIME_FUNCTION(Runtime_GetOwnPropertyKeys) { |
Handle<FixedArray> keys; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
- isolate, keys, JSReceiver::GetKeys(object, JSReceiver::OWN_ONLY, filter, |
- CONVERT_TO_STRING)); |
+ isolate, keys, JSReceiver::GetKeys(object, KeyCollectionType::OWN_ONLY, |
+ filter, CONVERT_TO_STRING)); |
return *isolate->factory()->NewJSArrayWithElements(keys); |
} |