Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index a885c4ac03ca60172e8003ab0c662696da950026..e97416a16156883781c7a1078f255282df1f7189 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -897,7 +897,7 @@ TEST(Iteration) { |
// Allocate a JS array to OLD_SPACE and NEW_SPACE |
objs[next_objs_index++] = factory->NewJSArray(10); |
objs[next_objs_index++] = |
- factory->NewJSArray(10, FAST_HOLEY_ELEMENTS, WEAK, TENURED); |
+ factory->NewJSArray(10, FAST_HOLEY_ELEMENTS, Strength::WEAK, TENURED); |
// Allocate a small string to OLD_DATA_SPACE and NEW_SPACE |
objs[next_objs_index++] = factory->NewStringFromStaticChars("abcdefghij"); |
@@ -2475,8 +2475,8 @@ TEST(PrototypeTransitionClearing) { |
{ |
AlwaysAllocateScope always_allocate(isolate); |
SimulateFullSpace(space); |
- prototype = |
- factory->NewJSArray(32 * KB, FAST_HOLEY_ELEMENTS, WEAK, TENURED); |
+ prototype = factory->NewJSArray(32 * KB, FAST_HOLEY_ELEMENTS, |
+ Strength::WEAK, TENURED); |
} |
// Add a prototype on an evacuation candidate and verify that transition |