Index: test/cctest/test-weaksets.cc |
diff --git a/test/cctest/test-weaksets.cc b/test/cctest/test-weaksets.cc |
index 1ab9f10989818f16a2b8bbed50c816094f431e54..9c6ae44bfafe1ac45ccc9ca1eb10571cad977093 100644 |
--- a/test/cctest/test-weaksets.cc |
+++ b/test/cctest/test-weaksets.cc |
@@ -182,7 +182,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); |
@@ -221,7 +221,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); |