Index: src/keys.cc |
diff --git a/src/keys.cc b/src/keys.cc |
index 8b116c85bddd147a14ccbe0108109f243e082256..17270eb1bede8711201731f3010c02b16a2cb2ed 100644 |
--- a/src/keys.cc |
+++ b/src/keys.cc |
@@ -895,12 +895,7 @@ Maybe<bool> KeyAccumulator::CollectOwnJSProxyTargetKeys( |
// TODO(cbruni): avoid creating another KeyAccumulator |
Handle<FixedArray> keys; |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
- isolate_, keys, |
- KeyAccumulator::GetKeys(target, KeyCollectionMode::kOwnOnly, filter_, |
- GetKeysConversion::kConvertToString, |
- filter_proxy_keys_, is_for_in_), |
- Nothing<bool>()); |
- bool prev_filter_proxy_keys_ = filter_proxy_keys_; |
+ isolate_, keys, JSReceiver::OwnPropertyKeys(target), Nothing<bool>()); |
NextPrototype(); // Prepare for accumulating keys. |
bool prev_filter_proxy_keys_ = filter_proxy_keys_; |
filter_proxy_keys_ = false; |