Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 92ee51416189f73dcb8d80805f6ccc539a873530..7573bbb5134a879ac36a0f92bc04a1a1aa13bd61 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12717,9 +12717,11 @@ MaybeHandle<Object> JSReceiver::SetElement(Handle<JSReceiver> object, |
MaybeHandle<Object> JSObject::SetOwnElement(Handle<JSObject> object, |
uint32_t index, |
Handle<Object> value, |
+ PropertyAttributes attributes, |
LanguageMode language_mode) { |
DCHECK(!object->HasExternalArrayElements()); |
- return JSObject::SetElement(object, index, value, NONE, language_mode, false); |
+ return JSObject::SetElement(object, index, value, attributes, language_mode, |
+ false); |
} |