| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 43069676838e68123f400b2e78ac7d4c38dadac3..fe43c4d6269a66fbb0db610072edb2ccdc800710 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3120,7 +3120,8 @@ PropertyAttribute v8::Object::GetPropertyAttributes(v8::Handle<Value> key) {
|
| EXCEPTION_BAILOUT_CHECK(isolate, static_cast<PropertyAttribute>(NONE));
|
| }
|
| i::Handle<i::Name> key_name = i::Handle<i::Name>::cast(key_obj);
|
| - PropertyAttributes result = self->GetPropertyAttribute(*key_name);
|
| + PropertyAttributes result =
|
| + i::JSReceiver::GetPropertyAttribute(self, key_name);
|
| if (result == ABSENT) return static_cast<PropertyAttribute>(NONE);
|
| return static_cast<PropertyAttribute>(result);
|
| }
|
|
|