Index: test/cctest/test-weakmaps.cc |
diff --git a/test/cctest/test-weakmaps.cc b/test/cctest/test-weakmaps.cc |
index 2f947d76a5e24b79f52c7b78c422a7451cb22a4f..f2044720a5769a03b41580be2db68f733c65f28b 100644 |
--- a/test/cctest/test-weakmaps.cc |
+++ b/test/cctest/test-weakmaps.cc |
@@ -183,7 +183,7 @@ TEST(Regress2060a) { |
Handle<JSWeakMap> weakmap = AllocateJSWeakMap(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(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); |