Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index 8315bfbc88ca781b7a22af4303764feb24d4a36e..59c86951c5d7826573bcf0d9ca67c64d8cd0bd9b 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -213,7 +213,7 @@ RUNTIME_FUNCTION(Runtime_GetArrayKeys) { |
} |
accumulator.NextPrototype(); |
Handle<JSObject> current = PrototypeIterator::GetCurrent<JSObject>(iter); |
- JSObject::CollectOwnElementKeys(current, &accumulator, ALL_PROPERTIES); |
+ accumulator.CollectOwnElementKeys(current); |
} |
// Erase any keys >= length. |
Handle<FixedArray> keys = accumulator.GetKeys(KEEP_NUMBERS); |