Index: test/cctest/test-spaces.cc |
diff --git a/test/cctest/test-spaces.cc b/test/cctest/test-spaces.cc |
index 331ea025109dd4112eb5f2176dec9dc6c479a268..2c4535d1ff59e72dad8c79db46d12254e651003e 100644 |
--- a/test/cctest/test-spaces.cc |
+++ b/test/cctest/test-spaces.cc |
@@ -434,7 +434,7 @@ TEST(LargeObjectSpace) { |
TEST(SizeOfFirstPageIsLargeEnough) { |
if (i::FLAG_always_opt) return; |
// Bootstrapping without a snapshot causes more allocations. |
- if (!i::Snapshot::HaveASnapshotToStartFrom()) return; |
+ if (!i::Snapshot::HaveASnapshotToStartFrom(CcTest::i_isolate())) return; |
CcTest::InitializeVM(); |
Isolate* isolate = CcTest::i_isolate(); |