Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index 5cfba6f7443d2c8081997aab4fa4e23b5a45d695..9ded3ba20a0df1552dfc3779fee921d2987ad9c4 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -675,7 +675,7 @@ void GCTracer::PrintNVP() const { |
} |
} |
-double GCTracer::AverageSpeed(const RingBuffer<BytesAndDuration>& buffer, |
+double GCTracer::AverageSpeed(const base::RingBuffer<BytesAndDuration>& buffer, |
const BytesAndDuration& initial, double time_ms) { |
BytesAndDuration sum = buffer.Sum( |
[time_ms](BytesAndDuration a, BytesAndDuration b) { |
@@ -694,7 +694,8 @@ double GCTracer::AverageSpeed(const RingBuffer<BytesAndDuration>& buffer, |
return speed; |
} |
-double GCTracer::AverageSpeed(const RingBuffer<BytesAndDuration>& buffer) { |
+double GCTracer::AverageSpeed( |
+ const base::RingBuffer<BytesAndDuration>& buffer) { |
return AverageSpeed(buffer, MakeBytesAndDuration(0, 0), 0); |
} |