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

Unified Diff: cc/tiles/tile.h

Issue 1531013004: cc: Do solid color analysis before scheduling tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test updated. Created 4 years, 11 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/raster/tile_task_worker_pool_unittest.cc ('k') | cc/tiles/tile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile.h
diff --git a/cc/tiles/tile.h b/cc/tiles/tile.h
index 6ca9e87e21c32a761618247f8a1293054ab2916b..99497f3ad20a3c0d0eee59b18a2c3b33e251e09d 100644
--- a/cc/tiles/tile.h
+++ b/cc/tiles/tile.h
@@ -104,6 +104,8 @@ class CC_EXPORT Tile {
return invalidated_content_rect_;
}
+ bool HasRasterTask() const { return !!raster_task_.get(); }
+
private:
friend class TileManager;
friend class FakeTileManager;
@@ -117,8 +119,6 @@ class CC_EXPORT Tile {
int flags);
~Tile();
- bool HasRasterTask() const { return !!raster_task_.get(); }
-
TileManager* const tile_manager_;
const gfx::Rect content_rect_;
const gfx::Rect enclosing_layer_rect_;
« no previous file with comments | « cc/raster/tile_task_worker_pool_unittest.cc ('k') | cc/tiles/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698