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

Unified Diff: cc/picture_layer_impl.h

Issue 11731002: Implement a method to access the non-composited content root layer picture pile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resubmitting, empty files in the review. Created 7 years, 12 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/picture_layer_impl.h
diff --git a/cc/picture_layer_impl.h b/cc/picture_layer_impl.h
index bf2db9e0764460998ecdc018b3f70dd2e6fec97f..d679a6b65cb445363e1dc6309ca55cee2ba02a77 100644
--- a/cc/picture_layer_impl.h
+++ b/cc/picture_layer_impl.h
@@ -45,6 +45,8 @@ public:
void SetIsMask(bool is_mask);
virtual ResourceProvider::ResourceId contentsResourceId() const OVERRIDE;
+ const PicturePileImpl* pile() const { return pile_.get(); }
enne (OOO) 2013/01/02 19:35:22 You should just return a clone here so that caller
Leandro GraciĆ” Gil 2013/01/03 20:32:10 Done.
+
protected:
PictureLayerImpl(LayerTreeImpl* treeImpl, int id);
void AddTiling(float contents_scale, gfx::Size tile_size);

Powered by Google App Engine
This is Rietveld 408576698