Index: test/cctest/test-weaksets.cc |
diff --git a/test/cctest/test-weaksets.cc b/test/cctest/test-weaksets.cc |
index a01d3152779639811b1fe0c7e03174b115933e4f..77afd0070691983f18b5bbac9e8e96d893eeab99 100644 |
--- a/test/cctest/test-weaksets.cc |
+++ b/test/cctest/test-weaksets.cc |
@@ -183,7 +183,7 @@ TEST(WeakSet_Regress2060a) { |
Handle<JSWeakSet> weakset = AllocateJSWeakSet(isolate); |
// Start second old-space page so that values land on evacuation candidate. |
- Page* first_page = heap->old_pointer_space()->anchor()->next_page(); |
+ Page* first_page = heap->old_space()->anchor()->next_page(); |
int dummy_array_size = Page::kMaxRegularHeapObjectSize - 92 * KB; |
factory->NewFixedArray(dummy_array_size / kPointerSize, TENURED); |
@@ -222,7 +222,7 @@ TEST(WeakSet_Regress2060b) { |
factory->function_string()); |
// Start second old-space page so that keys land on evacuation candidate. |
- Page* first_page = heap->old_pointer_space()->anchor()->next_page(); |
+ Page* first_page = heap->old_space()->anchor()->next_page(); |
int dummy_array_size = Page::kMaxRegularHeapObjectSize - 92 * KB; |
factory->NewFixedArray(dummy_array_size / kPointerSize, TENURED); |