Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index e3d8b1bb7995987cde1f1903181e99a4bc2e751c..8d18230651c7aa4cfde59ea21996109f287604b3 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -57,7 +57,7 @@ class IdleScavengeObserver : public InlineAllocationObserver { |
IdleScavengeObserver(Heap& heap, intptr_t step_size) |
: InlineAllocationObserver(step_size), heap_(heap) {} |
- virtual void Step(int bytes_allocated) { |
+ void Step(int bytes_allocated, Address, size_t) override { |
heap_.ScheduleIdleScavengeIfNeeded(bytes_allocated); |
} |