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

Unified Diff: cc/resources/picture_pile_base.h

Issue 12865017: Makes tile-creation lazy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing unit tests and an optimization to CreateTile Created 7 years, 8 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_pile_base.h
diff --git a/cc/resources/picture_pile_base.h b/cc/resources/picture_pile_base.h
index 35b3f11e61244767330b2c73e49983d19ec6510b..947ed3440f82da5ed1bfcb878c121c077349482a 100644
--- a/cc/resources/picture_pile_base.h
+++ b/cc/resources/picture_pile_base.h
@@ -39,6 +39,7 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
bool CanRaster(float contents_scale, gfx::Rect content_rect);
void SetTileGridSize(const gfx::Size& tile_grid_size);
+ TilingData& tiling() { return tiling_; }
protected:
virtual ~PicturePileBase();

Powered by Google App Engine
This is Rietveld 408576698