Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 43c920df6304bb74e52c14745f4a2416e2470a23..643a5b4100082a31b50eb7de472ba9fe256574c9 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3571,7 +3571,7 @@ bool v8::Object::Delete(uint32_t index) { |
ENTER_V8(isolate); |
HandleScope scope(reinterpret_cast<Isolate*>(isolate)); |
i::Handle<i::JSObject> self = Utils::OpenHandle(this); |
- return i::JSObject::DeleteElement(self, index)->IsTrue(); |
+ return i::JSReceiver::DeleteElement(self, index)->IsTrue(); |
} |