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

Unified Diff: cc/resources/picture_layer_tiling_set.h

Issue 367833003: cc: Start using raster/eviction iterators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: perf test fix Created 6 years, 5 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_set.h
diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h
index 67b267c28036d206cd102d64f3b1038cb602bcbd..28983d98c017e6d9c9cf25c09b1b81e922354e09 100644
--- a/cc/resources/picture_layer_tiling_set.h
+++ b/cc/resources/picture_layer_tiling_set.h
@@ -55,7 +55,6 @@ class CC_EXPORT PictureLayerTilingSet {
void RemoveAllTiles();
void DidBecomeActive();
- void DidBecomeRecycled();
// For a given rect, iterates through tiles that can fill it. If no
// set of tiles with resources can fill the rect, then it will iterate
@@ -77,6 +76,8 @@ class CC_EXPORT PictureLayerTilingSet {
gfx::RectF texture_rect() const;
// Texture size in texels
gfx::Size texture_size() const;
+ // Tile resolution.
+ TileResolution resolution();
Tile* operator->() const;
Tile* operator*() const;

Powered by Google App Engine
This is Rietveld 408576698