Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 8bd3fbe6263225e8b65e472b1d21584fcdb5bedd..5ef95f701a02f879acc66ac5cd33b38869dcd280 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -15676,20 +15676,17 @@ THREADED_TEST(PixelArray) { |
i::Handle<i::Smi> value(i::Smi::FromInt(2), |
reinterpret_cast<i::Isolate*>(context->GetIsolate())); |
i::Handle<i::Object> no_failure; |
- no_failure = |
- i::JSObject::SetElement(jsobj, 1, value, NONE, i::kSloppyMode); |
+ no_failure = i::JSObject::SetElement(jsobj, 1, value, NONE, i::SLOPPY); |
ASSERT(!no_failure.is_null()); |
i::USE(no_failure); |
CheckElementValue(isolate, 2, jsobj, 1); |
*value.location() = i::Smi::FromInt(256); |
- no_failure = |
- i::JSObject::SetElement(jsobj, 1, value, NONE, i::kSloppyMode); |
+ no_failure = i::JSObject::SetElement(jsobj, 1, value, NONE, i::SLOPPY); |
ASSERT(!no_failure.is_null()); |
i::USE(no_failure); |
CheckElementValue(isolate, 255, jsobj, 1); |
*value.location() = i::Smi::FromInt(-1); |
- no_failure = |
- i::JSObject::SetElement(jsobj, 1, value, NONE, i::kSloppyMode); |
+ no_failure = i::JSObject::SetElement(jsobj, 1, value, NONE, i::SLOPPY); |
ASSERT(!no_failure.is_null()); |
i::USE(no_failure); |
CheckElementValue(isolate, 0, jsobj, 1); |