| Index: test/cctest/heap/test-heap.cc
|
| diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
|
| index 524a553a151a5326bdc7b0aaa0305a6feaf4107b..1861a36eccf87f3462b947c930fbe66ebc197e94 100644
|
| --- a/test/cctest/heap/test-heap.cc
|
| +++ b/test/cctest/heap/test-heap.cc
|
| @@ -4829,7 +4829,7 @@ TEST(NoWeakHashTableLeakWithIncrementalMarking) {
|
| Isolate* isolate = CcTest::i_isolate();
|
|
|
| // Do not run for no-snap builds.
|
| - if (!i::Snapshot::HaveASnapshotToStartFrom(isolate)) return;
|
| + if (!i::Snapshot::HasContextSnapshot(isolate, 0)) return;
|
|
|
| v8::internal::Heap* heap = CcTest::heap();
|
|
|
| @@ -5968,7 +5968,7 @@ TEST(BootstrappingExports) {
|
| v8::Isolate* isolate = CcTest::isolate();
|
| LocalContext env;
|
|
|
| - if (Snapshot::HaveASnapshotToStartFrom(CcTest::i_isolate())) return;
|
| + if (Snapshot::HasContextSnapshot(CcTest::i_isolate(), 0)) return;
|
|
|
| utils_has_been_collected = false;
|
|
|
|
|