Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3324)

Unified Diff: cc/debug/rasterize_and_record_benchmark_impl.cc

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/paint_time_counter.cc ('k') | cc/debug/rendering_stats.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rasterize_and_record_benchmark_impl.cc
diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc
index b98465524104f4574f91051432c431126db7f814..2ffac1b38d6a6705bd6aaa7b1a20dce32133617e 100644
--- a/cc/debug/rasterize_and_record_benchmark_impl.cc
+++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
@@ -56,10 +56,10 @@ class BenchmarkRasterTask : public Task {
SkCanvas canvas(bitmap);
RasterSource::SolidColorAnalysis analysis;
- raster_source_->PerformSolidColorAnalysis(
- content_rect_, contents_scale_, &analysis, nullptr);
- raster_source_->PlaybackToCanvas(
- &canvas, content_rect_, contents_scale_, nullptr);
+ raster_source_->PerformSolidColorAnalysis(content_rect_,
+ contents_scale_, &analysis);
+ raster_source_->PlaybackToCanvas(&canvas, content_rect_,
+ contents_scale_);
is_solid_color_ = analysis.is_solid_color;
« no previous file with comments | « cc/debug/paint_time_counter.cc ('k') | cc/debug/rendering_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698