Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 06fcd97a743b7dc5c0e81e5b1d7ad18404f038e9..1c09752b726e4a2cfe32ff36b698086edc60b78c 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1144,7 +1144,7 @@ TEST(Regression39128) { |
// Step 1: prepare a map for the object. We add 1 inobject property to it. |
// Create a map with single inobject property. |
Handle<Map> my_map = Map::Create(CcTest::i_isolate(), 1); |
- int n_properties = my_map->inobject_properties(); |
+ int n_properties = my_map->GetInObjectProperties(); |
CHECK_GT(n_properties, 0); |
int object_size = my_map->instance_size(); |