Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 2898c6cb0c442a47c8a8217308e7dd474d58bb1c..aa047b2e8af72a97afcbb2d2c6c39d259b2ac0ce 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8065,7 +8065,7 @@ MaybeHandle<FixedArray> JSReceiver::GetKeys(Handle<JSReceiver> object, |
Isolate* isolate = object->GetIsolate(); |
KeyAccumulator accumulator(isolate, type, filter); |
accumulator.set_filter_proxy_keys(filter_proxy_keys); |
- MAYBE_RETURN(accumulator.GetKeys_Internal(object, object, type), |
+ MAYBE_RETURN(accumulator.CollectKeys(object, object), |
MaybeHandle<FixedArray>()); |
Handle<FixedArray> keys = accumulator.GetKeys(keys_conversion); |
DCHECK(ContainsOnlyValidKeys(keys)); |
@@ -8163,7 +8163,7 @@ MaybeHandle<FixedArray> GetOwnValuesOrEntries(Isolate* isolate, |
PropertyFilter key_filter = |
static_cast<PropertyFilter>(filter & ~ONLY_ENUMERABLE); |
KeyAccumulator accumulator(isolate, OWN_ONLY, key_filter); |
- MAYBE_RETURN(accumulator.GetKeys_Internal(object, object, OWN_ONLY), |
+ MAYBE_RETURN(accumulator.CollectKeys(object, object), |
MaybeHandle<FixedArray>()); |
Handle<FixedArray> keys = accumulator.GetKeys(CONVERT_TO_STRING); |
DCHECK(ContainsOnlyValidKeys(keys)); |