| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index a57fa88578b147c154b367bc8cd6631520dad8ed..b9ed02e6227927f20ff11774f449efbd7cc1d350 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3872,9 +3872,9 @@
|
| PREPARE_FOR_EXECUTION(context, Object, GetPropertyNames, Array);
|
| auto self = Utils::OpenHandle(this);
|
| i::Handle<i::FixedArray> value;
|
| - has_pending_exception = !i::KeyAccumulator::GetKeys(self, i::INCLUDE_PROTOS,
|
| - i::ENUMERABLE_STRINGS)
|
| - .ToHandle(&value);
|
| + has_pending_exception =
|
| + !i::JSReceiver::GetKeys(self, i::INCLUDE_PROTOS, i::ENUMERABLE_STRINGS)
|
| + .ToHandle(&value);
|
| RETURN_ON_FAILED_EXECUTION(Array);
|
| DCHECK(self->map()->EnumLength() == i::kInvalidEnumCacheSentinel ||
|
| self->map()->EnumLength() == 0 ||
|
| @@ -3905,8 +3905,8 @@
|
| auto self = Utils::OpenHandle(this);
|
| i::Handle<i::FixedArray> value;
|
| has_pending_exception =
|
| - !i::KeyAccumulator::GetKeys(self, i::OWN_ONLY,
|
| - static_cast<i::PropertyFilter>(filter))
|
| + !i::JSReceiver::GetKeys(self, i::OWN_ONLY,
|
| + static_cast<i::PropertyFilter>(filter))
|
| .ToHandle(&value);
|
| RETURN_ON_FAILED_EXECUTION(Array);
|
| DCHECK(self->map()->EnumLength() == i::kInvalidEnumCacheSentinel ||
|
|
|