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

Unified Diff: cc/playback/recording_source.cc

Issue 2225563002: Reland "Raster display item lists via a visual rect RTree." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. Created 4 years, 4 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 | « cc/playback/display_item_list_unittest.cc ('k') | cc/proto/display_item.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/recording_source.cc
diff --git a/cc/playback/recording_source.cc b/cc/playback/recording_source.cc
index ae4933c0787ee4d564adabc6133233e4b4d6242b..d5ad6ffe8cec03b6d746d587bc84760d5cd58e72 100644
--- a/cc/playback/recording_source.cc
+++ b/cc/playback/recording_source.cc
@@ -192,7 +192,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(), 1.f);
+ display_list_->Raster(&canvas, nullptr, gfx::Rect(layer_size), 1.f);
is_solid_color_ = canvas.GetColorIfSolid(&solid_color_);
}
« no previous file with comments | « cc/playback/display_item_list_unittest.cc ('k') | cc/proto/display_item.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698