Index: cc/tiles/picture_layer_tiling.h |
diff --git a/cc/tiles/picture_layer_tiling.h b/cc/tiles/picture_layer_tiling.h |
index 7726f32085c8b86fc2abcf4c9a8f8ff78a760e9c..fb0307bdf643bfb77362daa267538962b6578a06 100644 |
--- a/cc/tiles/picture_layer_tiling.h |
+++ b/cc/tiles/picture_layer_tiling.h |
@@ -276,8 +276,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); |
reveman
2015/05/28 05:07:25
adding an 'id' output param seems a bit too specif
danakj
2015/05/28 18:54:47
I think we're making perfect the enemy of the good
|
bool TilingMatchesTileIndices(const PictureLayerTiling* twin) const; |
// Computes a skewport. The calculation extrapolates the last visible |