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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 246673005: cc: Start using raster/eviction iterators in tile manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: cc/resources/picture_layer_tiling.h
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
index 538117cffa123f4b55049e94d741829e7d5a844d..a5cf401cc9ade8299a70d9b227f9792e5a61a718 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -59,6 +59,8 @@ class CC_EXPORT PictureLayerTiling {
TilingRasterTileIterator& operator++();
+ bool HasTilesRequiredForActivation() const;
+
gfx::Rect TileBounds() const {
DCHECK(*this);
if (type_ == TilePriority::NOW) {
@@ -74,7 +76,7 @@ class CC_EXPORT PictureLayerTiling {
bool TileNeedsRaster(Tile* tile) const {
RasterMode mode = tile->DetermineRasterModeForTree(tree_);
return tile->NeedsRasterForMode(mode);
- };
+ }
PictureLayerTiling* tiling_;

Powered by Google App Engine
This is Rietveld 408576698