Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index a6ff52ca2fce9f7625b5830777d14516917bdb6c..c58b0c32a08d3f1158f89ade684025678682e19d 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); |
} |