| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index f4a78256ac41417dbe0fa2635bd1dd351b1f610f..7abe23f3a4c0ebb759864804bf19921e30e4ee55 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3060,7 +3060,7 @@ Local<Array> v8::Object::GetPropertyNames() {
|
| i::Handle<i::JSObject> self = Utils::OpenHandle(this);
|
| bool threw = false;
|
| i::Handle<i::FixedArray> value =
|
| - i::GetKeysInFixedArrayFor(self, i::INCLUDE_PROTOS, &threw);
|
| + i::GetKeysInFixedArrayFor<true>(self, i::INCLUDE_PROTOS, &threw);
|
| if (threw) return Local<v8::Array>();
|
| // Because we use caching to speed up enumeration it is important
|
| // to never change the result of the basic enumeration function so
|
| @@ -3081,7 +3081,7 @@ Local<Array> v8::Object::GetOwnPropertyNames() {
|
| i::Handle<i::JSObject> self = Utils::OpenHandle(this);
|
| bool threw = false;
|
| i::Handle<i::FixedArray> value =
|
| - i::GetKeysInFixedArrayFor(self, i::LOCAL_ONLY, &threw);
|
| + i::GetKeysInFixedArrayFor<true>(self, i::LOCAL_ONLY, &threw);
|
| if (threw) return Local<v8::Array>();
|
| // Because we use caching to speed up enumeration it is important
|
| // to never change the result of the basic enumeration function so
|
|
|