| Index: src/key-accumulator.cc
|
| diff --git a/src/key-accumulator.cc b/src/key-accumulator.cc
|
| index 468a1f5f28f3fdb47e2af8a41838f5ea8f9ce7c6..9951636963d29d458c80ee4ab946e49f20f0dcd7 100644
|
| --- a/src/key-accumulator.cc
|
| +++ b/src/key-accumulator.cc
|
| @@ -231,12 +231,7 @@ MaybeHandle<FixedArray> FilterProxyKeys(Isolate* isolate, Handle<JSProxy> owner,
|
| int store_position = 0;
|
| for (int i = 0; i < keys->length(); ++i) {
|
| Handle<Name> key(Name::cast(keys->get(i)), isolate);
|
| - if (key->IsSymbol()) {
|
| - if ((filter & SKIP_SYMBOLS) || Handle<Symbol>::cast(key)->is_private()) {
|
| - continue; // Skip this key.
|
| - }
|
| - }
|
| - if (filter & SKIP_STRINGS) continue; // Skip this key.
|
| + if (key->FilterKey(filter)) continue; // Skip this key.
|
| if (filter & ONLY_ENUMERABLE) {
|
| PropertyDescriptor desc;
|
| bool found =
|
|
|