Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index 3608fe81b684df8894e106169d82b71d01340c58..f9c4a4f580213f833f2833b07ad74459cd32a6a8 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -533,10 +533,10 @@ class GlobalHandles::PendingPhantomCallbacksSecondPassTask |
} |
void RunInternal() override { |
- isolate_->heap()->CallGCPrologueCallbacks( |
+ isolate()->heap()->CallGCPrologueCallbacks( |
GCType::kGCTypeProcessWeakCallbacks, kNoGCCallbackFlags); |
- InvokeSecondPassPhantomCallbacks(&pending_phantom_callbacks_, isolate_); |
- isolate_->heap()->CallGCEpilogueCallbacks( |
+ InvokeSecondPassPhantomCallbacks(&pending_phantom_callbacks_, isolate()); |
+ isolate()->heap()->CallGCEpilogueCallbacks( |
GCType::kGCTypeProcessWeakCallbacks, kNoGCCallbackFlags); |
} |