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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: . Created 5 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 76723a348f1c873b346d1fb50aaea5791cc34d5d..8c5e05629592160d2e789216ba6e99faf7f7c9f5 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -233,8 +233,9 @@ class CC_EXPORT PictureLayerTiling {
void SetLiveTilesRect(const gfx::Rect& live_tiles_rect);
void VerifyLiveTilesRect(bool is_on_recycle_tree) const;
Tile* CreateTile(int i, int j);
- // Returns true if the Tile existed and was removed from the tiling.
- bool RemoveTileAt(int i, int j);
+ // Returns true if the Tile existed and was removed from the tiling. If true,
+ // and |id| is not null, sets |id| to that of the removed Tile.
+ bool RemoveTileAt(int i, int j, Tile::Id* id);
bool TilingMatchesTileIndices(const PictureLayerTiling* twin) const;
// Computes a skewport. The calculation extrapolates the last visible

Powered by Google App Engine
This is Rietveld 408576698