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

Unified Diff: cc/layers/recording_source.cc

Issue 2881213002: cc: Remove deprecated DisplayItemList::Raster overload. (Closed)
Patch Set: update Created 3 years, 7 months 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 | « no previous file | cc/paint/display_item_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/recording_source.cc
diff --git a/cc/layers/recording_source.cc b/cc/layers/recording_source.cc
index be5503b3ec043b44cd328b5e6a1a55703e687da8..78f31fbf81e608e6b0b415e3f662550c42a386c9 100644
--- a/cc/layers/recording_source.cc
+++ b/cc/layers/recording_source.cc
@@ -149,7 +149,7 @@ void RecordingSource::DetermineIfSolidColor() {
display_list_->ApproximateOpCount());
gfx::Size layer_size = GetSize();
skia::AnalysisCanvas canvas(layer_size.width(), layer_size.height());
- display_list_->Raster(&canvas, nullptr, gfx::Rect(layer_size), 1.f);
+ display_list_->Raster(&canvas);
is_solid_color_ = canvas.GetColorIfSolid(&solid_color_);
}
« no previous file with comments | « no previous file | cc/paint/display_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698