summaryrefslogtreecommitdiffstats
path: root/cc/debug/rasterize_and_record_benchmark.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/debug/rasterize_and_record_benchmark.cc')
-rw-r--r--cc/debug/rasterize_and_record_benchmark.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/debug/rasterize_and_record_benchmark.cc b/cc/debug/rasterize_and_record_benchmark.cc
index cb1c36a..5624fb1c 100644
--- a/cc/debug/rasterize_and_record_benchmark.cc
+++ b/cc/debug/rasterize_and_record_benchmark.cc
@@ -157,8 +157,7 @@ void RasterizeAndRecordBenchmark::RunOnDisplayListLayer(
kTimeCheckInterval);
do {
- display_list = painter->PaintContentsToDisplayList(visible_layer_rect,
- painting_control);
+ display_list = painter->PaintContentsToDisplayList(painting_control);
if (display_list->ShouldBeAnalyzedForSolidColor()) {
gfx::Size layer_size = layer->paint_properties().bounds;
skia::AnalysisCanvas canvas(layer_size.width(), layer_size.height());