Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index f139788a76e5d34ef48384c0874fccaa33047057..ca7cea5ac17ec8ae2f3a109ca29e05423a1edb3c 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4416,7 +4416,7 @@ bool Heap::IdleNotification(int hint) { |
return false; |
} |
- if (!FLAG_incremental_marking || Serializer::enabled()) { |
+ if (!FLAG_incremental_marking || Serializer::enabled(isolate_)) { |
return IdleGlobalGC(); |
} |