Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index be1098cc4c3877b8c3734a4ba4da99bea9c8509a..e34fd66ac707656c505e4fba2f3b025125065319 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -661,7 +661,7 @@ TEST(ObjectProperties) { |
CHECK(obj->HasLocalProperty(*first)); |
// delete first |
- CHECK(obj->DeleteProperty(*first, JSObject::NORMAL_DELETION)); |
+ JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION); |
CHECK(!obj->HasLocalProperty(*first)); |
// add first and then second |
@@ -673,9 +673,9 @@ TEST(ObjectProperties) { |
CHECK(obj->HasLocalProperty(*second)); |
// delete first and then second |
- CHECK(obj->DeleteProperty(*first, JSObject::NORMAL_DELETION)); |
+ JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION); |
CHECK(obj->HasLocalProperty(*second)); |
- CHECK(obj->DeleteProperty(*second, JSObject::NORMAL_DELETION)); |
+ JSReceiver::DeleteProperty(obj, second, JSReceiver::NORMAL_DELETION); |
CHECK(!obj->HasLocalProperty(*first)); |
CHECK(!obj->HasLocalProperty(*second)); |
@@ -688,9 +688,9 @@ TEST(ObjectProperties) { |
CHECK(obj->HasLocalProperty(*second)); |
// delete second and then first |
- CHECK(obj->DeleteProperty(*second, JSObject::NORMAL_DELETION)); |
+ JSReceiver::DeleteProperty(obj, second, JSReceiver::NORMAL_DELETION); |
CHECK(obj->HasLocalProperty(*first)); |
- CHECK(obj->DeleteProperty(*first, JSObject::NORMAL_DELETION)); |
+ JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION); |
CHECK(!obj->HasLocalProperty(*first)); |
CHECK(!obj->HasLocalProperty(*second)); |