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

Unified Diff: cc/resources/tile_manager.cc

Issue 235753002: cc: Give TilingData a Rect instead of a Size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Git cl format Created 6 years, 8 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/resources/picture_pile_unittest.cc ('k') | cc/test/fake_picture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index 963808e20a5cf633c7e710bb46d7e827682af31f..026fb8d750aed881add7611fc7a85b715cf6a522 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -1138,7 +1138,7 @@ scoped_refptr<RasterTask> TileManager::CreateRasterTask(Tile* tile) {
// Note that this last optimization is a heuristic that ensures that we don't
// spend too much time analyzing tiles on a multitude of small layers, as it
// is likely that these layers have some non-solid content.
- gfx::Size pile_size = tile->picture_pile()->size();
+ gfx::Size pile_size = tile->picture_pile()->tiling_rect().size();
bool analyze_picture = !tile->use_gpu_rasterization() &&
std::min(pile_size.width(), pile_size.height()) >=
kMinDimensionsForAnalysis;
« no previous file with comments | « cc/resources/picture_pile_unittest.cc ('k') | cc/test/fake_picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698