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

Unified Diff: cc/tile.h

Issue 11953005: cc: Update picture pile on tiles to prevent memory leak (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« cc/picture_layer_tiling.cc ('K') | « cc/test/fake_picture_layer_tiling_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile.h
diff --git a/cc/tile.h b/cc/tile.h
index 7d41e6a8cb9b2f83ea88a76af82e0982f0694c8a..dcb24e09dd840abd87d47ea5240f032e0048ba94 100644
--- a/cc/tile.h
+++ b/cc/tile.h
@@ -54,6 +54,10 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
float contents_scale() const { return contents_scale_; }
gfx::Rect content_rect() const { return content_rect_; }
+ void set_picture_pile(scoped_refptr<PicturePileImpl> pile) {
+ picture_pile_ = pile;
+ }
+
private:
// Methods called by by tile manager.
friend class TileManager;
« cc/picture_layer_tiling.cc ('K') | « cc/test/fake_picture_layer_tiling_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698