Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index cc9cd3ae9f60820190948cf403fda7f349a9d9cb..1074b6fad8ab1aa18cb044511b82a819b119ebcf 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3129,7 +3129,7 @@ Local<Value> v8::Object::GetPrivate(v8::Handle<Private> key) { |
PropertyAttribute v8::Object::GetPropertyAttributes(v8::Handle<Value> key) { |
i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); |
- ON_BAILOUT(isolate, "v8::Object::GetPropertyAttribute()", |
+ ON_BAILOUT(isolate, "v8::Object::GetPropertyAttributes()", |
return static_cast<PropertyAttribute>(NONE)); |
ENTER_V8(isolate); |
i::HandleScope scope(isolate); |
@@ -3143,7 +3143,7 @@ PropertyAttribute v8::Object::GetPropertyAttributes(v8::Handle<Value> key) { |
} |
i::Handle<i::Name> key_name = i::Handle<i::Name>::cast(key_obj); |
PropertyAttributes result = |
- i::JSReceiver::GetPropertyAttribute(self, key_name); |
+ i::JSReceiver::GetPropertyAttributes(self, key_name); |
if (result == ABSENT) return static_cast<PropertyAttribute>(NONE); |
return static_cast<PropertyAttribute>(result); |
} |