Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 577675f0a1e7a69805d52fe765c81b88189f66b3..6df355d289d30ad8168c3030b5812cb234126808 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -5656,8 +5656,9 @@ TEST(Regress388880) { |
Handle<Map> map1 = Map::Create(isolate, 1); |
Handle<Map> map2 = |
Map::CopyWithField(map1, factory->NewStringFromStaticChars("foo"), |
- HeapType::Any(isolate), NONE, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ FieldType::Any(isolate), NONE, |
+ Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
int desired_offset = Page::kPageSize - map1->instance_size(); |