Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 0a4cf2b1e4006a7983ef6cd158a252d116ea94e3..cb5313c7da5a8ca2ecd1329892697dfb3d1f3715 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -952,7 +952,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"); |
@@ -2531,8 +2531,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 |