Index: src/heap/memory-reducer.cc |
diff --git a/src/heap/memory-reducer.cc b/src/heap/memory-reducer.cc |
index 7f51ef29f74385200aee498370e8a58c9e297de2..4cf8bc2e3686a2571b4c7cc98a9d05c15fe11621 100644 |
--- a/src/heap/memory-reducer.cc |
+++ b/src/heap/memory-reducer.cc |
@@ -103,8 +103,8 @@ |
// TODO(ulan): Replace it with incremental marking GC once |
// chromium:490559 is fixed. |
if (event.time_ms > state_.last_gc_time_ms + kLongDelayMs) { |
- heap()->CollectAllGarbage("memory reducer background GC", |
- Heap::kReduceMemoryFootprintMask); |
+ heap()->CollectAllGarbage(Heap::kReduceMemoryFootprintMask, |
+ "memory reducer background GC"); |
} else { |
DCHECK(FLAG_incremental_marking); |
heap()->StartIdleIncrementalMarking(); |