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

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: add test. 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
Index: cc/tiles/tile.h
diff --git a/cc/tiles/tile.h b/cc/tiles/tile.h
index e245e0111d9ffa3fb26ed09e560d4e1d006eee41..00023a4fb9fd14ec6adf379dc94e448d02dd5beb 100644
--- a/cc/tiles/tile.h
+++ b/cc/tiles/tile.h
@@ -100,6 +100,8 @@ class CC_EXPORT Tile {
return invalidated_content_rect_;
}
+ bool HasRasterTask() const { return !!raster_task_.get(); }
+
private:
friend class TileManager;
friend class FakeTileManager;
@@ -113,8 +115,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_;

Powered by Google App Engine
This is Rietveld 408576698