Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 002c3c2f140f1da0e3718166e6bd5dcc1b4eaa3e..a694c0a6da88543ff6144bb0262183276390406b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -6240,8 +6240,8 @@ static Handle<FixedArray> ReduceFixedArrayTo( |
} |
-static Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
- bool cache_result) { |
+Handle<FixedArray> JSObject::GetEnumPropertyKeys(Handle<JSObject> object, |
+ bool cache_result) { |
Isolate* isolate = object->GetIsolate(); |
if (object->HasFastProperties()) { |
int own_property_count = object->map()->EnumLength(); |
@@ -6422,7 +6422,7 @@ MaybeHandle<FixedArray> JSReceiver::GetKeys(Handle<JSReceiver> object, |
ASSIGN_RETURN_ON_EXCEPTION( |
isolate, content, |
FixedArray::UnionOfKeys( |
- content, GetEnumPropertyKeys(current, cache_enum_keys)), |
+ content, JSObject::GetEnumPropertyKeys(current, cache_enum_keys)), |
FixedArray); |
DCHECK(ContainsOnlyValidKeys(content)); |