Index: cc/picture_layer_impl.h |
diff --git a/cc/picture_layer_impl.h b/cc/picture_layer_impl.h |
index 66f739bbb18dc9966cbcb08ced8883b44b090656..bf2db9e0764460998ecdc018b3f70dd2e6fec97f 100644 |
--- a/cc/picture_layer_impl.h |
+++ b/cc/picture_layer_impl.h |
@@ -41,10 +41,15 @@ public: |
void SyncFromActiveLayer(); |
void SyncTiling(const PictureLayerTiling* tiling); |
+ // Mask-related functions |
+ void SetIsMask(bool is_mask); |
+ virtual ResourceProvider::ResourceId contentsResourceId() const OVERRIDE; |
+ |
protected: |
PictureLayerImpl(LayerTreeImpl* treeImpl, int id); |
void AddTiling(float contents_scale, gfx::Size tile_size); |
void SyncFromActiveLayer(const PictureLayerImpl* other); |
+ gfx::Size TileSize() const; |
PictureLayerTilingSet tilings_; |
scoped_refptr<PicturePileImpl> pile_; |
@@ -56,6 +61,7 @@ protected: |
gfx::Size last_content_bounds_; |
float last_content_scale_x_; |
float last_content_scale_y_; |
+ bool is_mask_; |
friend class PictureLayer; |
DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |