| Index: cc/debug/rendering_stats_instrumentation.cc
|
| diff --git a/cc/debug/rendering_stats_instrumentation.cc b/cc/debug/rendering_stats_instrumentation.cc
|
| index 3c2c96b8b00b42f1722750ee77110a64d5423de5..a423eccef8180f38797b7fd274cc1b28762d3f39 100644
|
| --- a/cc/debug/rendering_stats_instrumentation.cc
|
| +++ b/cc/debug/rendering_stats_instrumentation.cc
|
| @@ -105,12 +105,14 @@ void RenderingStatsInstrumentation::AddPaint(base::TimeDelta duration,
|
| }
|
|
|
| void RenderingStatsInstrumentation::AddRecord(base::TimeDelta duration,
|
| + base::TimeDelta best_duration,
|
| int64 pixels) {
|
| if (!record_rendering_stats_)
|
| return;
|
|
|
| base::AutoLock scoped_lock(lock_);
|
| main_stats_.record_time += duration;
|
| + main_stats_.best_record_time += best_duration;
|
| main_stats_.recorded_pixel_count += pixels;
|
| }
|
|
|
|
|