Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 73617647c093e0e55e321f4a9a31b7b83d1b75ba..5140cd50604ecf88f736135ce1eae9022af7de8b 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3565,7 +3565,7 @@ Maybe<bool> v8::Object::CreateDataProperty(v8::Local<v8::Context> context, |
} |
Maybe<PropertyAttributes> attributes = |
- i::JSReceiver::GetOwnElementAttribute(self, index); |
+ i::JSReceiver::GetOwnElementAttributes(self, index); |
if (attributes.IsJust() && attributes.FromJust() & DONT_DELETE) { |
return Just(false); |
} |