Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 4451444fe9f4a0fcf704096ee49290e46ea83b85..dadee9af50fd97269451ee8ce3a4b55ca3348df5 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -3436,8 +3436,7 @@ void Isolate::CheckDetachedContextsAfterGC() { |
if (new_length == 0) { |
heap()->set_detached_contexts(heap()->empty_fixed_array()); |
} else if (new_length < length) { |
- heap()->RightTrimFixedArray<Heap::CONCURRENT_TO_SWEEPER>( |
- *detached_contexts, length - new_length); |
+ heap()->RightTrimFixedArray(*detached_contexts, length - new_length); |
} |
} |