Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 643a5b4100082a31b50eb7de472ba9fe256574c9..4e78041788ac159ef916cb0bfd71e4bdaeb29687 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3600,7 +3600,8 @@ static inline bool ObjectSetAccessor(Object* obj, |
name, getter, setter, data, settings, attributes, signature); |
if (info.is_null()) return false; |
bool fast = Utils::OpenHandle(obj)->HasFastProperties(); |
- i::Handle<i::Object> result = i::SetAccessor(Utils::OpenHandle(obj), info); |
+ i::Handle<i::Object> result = |
+ i::JSObject::SetAccessor(Utils::OpenHandle(obj), info); |
if (result.is_null() || result->IsUndefined()) return false; |
if (fast) i::JSObject::TransformToFastProperties(Utils::OpenHandle(obj), 0); |
return true; |