Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index f873f9478bcf5964b0fa4b47967c01a772c420db..3e28102fc76ed4958209b28b955eb8dbf7319c7d 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1114,8 +1114,9 @@ MaybeHandle<Object> JSReceiver::GetProperty(Isolate* isolate, |
// static |
MUST_USE_RESULT MaybeHandle<FixedArray> JSReceiver::OwnPropertyKeys( |
Handle<JSReceiver> object) { |
- return KeyAccumulator::GetKeys(object, OWN_ONLY, ALL_PROPERTIES, |
- CONVERT_TO_STRING); |
+ return KeyAccumulator::GetKeys(object, KeyCollectionMode::kOwnOnly, |
+ ALL_PROPERTIES, |
+ GetKeysConversion::kConvertToString); |
} |
#define FIELD_ADDR(p, offset) \ |