| Index: cc/debug/rasterize_and_record_benchmark.cc
|
| diff --git a/cc/debug/rasterize_and_record_benchmark.cc b/cc/debug/rasterize_and_record_benchmark.cc
|
| index e46dcfea16903fb1730e0979d3052ed341c31c12..73a0fa5657b8772b3a7e64f94dcc13840c9b50dc 100644
|
| --- a/cc/debug/rasterize_and_record_benchmark.cc
|
| +++ b/cc/debug/rasterize_and_record_benchmark.cc
|
| @@ -225,9 +225,11 @@ void RasterizeAndRecordBenchmark::RunOnDisplayListLayer(
|
| min_time = duration;
|
| }
|
|
|
| - record_results_.bytes_used += memory_used;
|
| - record_results_.pixels_recorded +=
|
| - visible_content_rect.width() * visible_content_rect.height();
|
| + if (mode_index == RecordingSource::RECORD_NORMALLY) {
|
| + record_results_.bytes_used += memory_used;
|
| + record_results_.pixels_recorded +=
|
| + visible_content_rect.width() * visible_content_rect.height();
|
| + }
|
| record_results_.total_best_time[mode_index] += min_time;
|
| }
|
| }
|
|
|