Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 8cd73f2a84e2185244a3aca5a3209013dab6574f..a7e45d18ef5a69c3e823c3705b6f4e9acaefb8f0 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -12331,18 +12331,21 @@ THREADED_TEST(PixelArray) { |
i::Handle<i::Smi> value(i::Smi::FromInt(2)); |
i::Handle<i::Object> no_failure; |
- no_failure = i::JSObject::SetElement(jsobj, 1, value, i::kNonStrictMode); |
+ no_failure = |
+ i::JSObject::SetElement(jsobj, 1, value, NONE, i::kNonStrictMode); |
ASSERT(!no_failure.is_null()); |
i::USE(no_failure); |
CHECK_EQ(2, i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value()); |
*value.location() = i::Smi::FromInt(256); |
- no_failure = i::JSObject::SetElement(jsobj, 1, value, i::kNonStrictMode); |
+ no_failure = |
+ i::JSObject::SetElement(jsobj, 1, value, NONE, i::kNonStrictMode); |
ASSERT(!no_failure.is_null()); |
i::USE(no_failure); |
CHECK_EQ(255, |
i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value()); |
*value.location() = i::Smi::FromInt(-1); |
- no_failure = i::JSObject::SetElement(jsobj, 1, value, i::kNonStrictMode); |
+ no_failure = |
+ i::JSObject::SetElement(jsobj, 1, value, NONE, i::kNonStrictMode); |
ASSERT(!no_failure.is_null()); |
i::USE(no_failure); |
CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value()); |