Index: test/cctest/test-migrations.cc |
diff --git a/test/cctest/test-migrations.cc b/test/cctest/test-migrations.cc |
index 544278575ce1e189bbe00a71abbf60e28f5d6328..a5eee5d7df0079cb62f6f8815923f70a545f228d 100644 |
--- a/test/cctest/test-migrations.cc |
+++ b/test/cctest/test-migrations.cc |
@@ -508,8 +508,7 @@ TEST(ReconfigureAccessorToNonExistingDataFieldHeavy) { |
CHECK(obj->map()->instance_descriptors()->GetValue(0)->IsAccessorPair()); |
Handle<Object> value(Smi::FromInt(42), isolate); |
- JSObject::SetOwnPropertyIgnoreAttributes( |
- obj, foo_str, value, NONE, JSObject::DONT_FORCE_FIELD).ToHandleChecked(); |
+ JSObject::SetOwnPropertyIgnoreAttributes(obj, foo_str, value, NONE).Check(); |
// Check that the property contains |value|. |
CHECK_EQ(1, obj->map()->NumberOfOwnDescriptors()); |