| Index: cc/debug/rendering_stats.cc
|
| diff --git a/cc/debug/rendering_stats.cc b/cc/debug/rendering_stats.cc
|
| index d0668da9b3a18505607cfa9b4cbe8a3311697276..17a7b96df9871967f39fc8b2845a1bfd7972ec6b 100644
|
| --- a/cc/debug/rendering_stats.cc
|
| +++ b/cc/debug/rendering_stats.cc
|
| @@ -28,6 +28,10 @@ void RenderingStats::TimeDeltaList::Add(const TimeDeltaList& other) {
|
| values.insert(values.end(), other.values.begin(), other.values.end());
|
| }
|
|
|
| +base::TimeDelta RenderingStats::TimeDeltaList::GetLastTimeDelta() const {
|
| + return values.empty() ? base::TimeDelta() : values.back();
|
| +}
|
| +
|
| RenderingStats::MainThreadRenderingStats::MainThreadRenderingStats()
|
| : painted_pixel_count(0), recorded_pixel_count(0) {
|
| }
|
|
|