| Index: cc/layers/picture_image_layer_impl.h
|
| diff --git a/cc/layers/picture_image_layer_impl.h b/cc/layers/picture_image_layer_impl.h
|
| index 7a363a17a847841e02c2b16dec191c83968b62e1..f478951592fdb05751525ec48c1d315bff3ab7a4 100644
|
| --- a/cc/layers/picture_image_layer_impl.h
|
| +++ b/cc/layers/picture_image_layer_impl.h
|
| @@ -12,8 +12,9 @@ namespace cc {
|
| class CC_EXPORT PictureImageLayerImpl : public PictureLayerImpl {
|
| public:
|
| static scoped_ptr<PictureImageLayerImpl> Create(LayerTreeImpl* tree_impl,
|
| - int id) {
|
| - return make_scoped_ptr(new PictureImageLayerImpl(tree_impl, id));
|
| + int id,
|
| + bool is_mask) {
|
| + return make_scoped_ptr(new PictureImageLayerImpl(tree_impl, id, is_mask));
|
| }
|
| ~PictureImageLayerImpl() override;
|
|
|
| @@ -22,7 +23,7 @@ class CC_EXPORT PictureImageLayerImpl : public PictureLayerImpl {
|
| scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
|
|
|
| protected:
|
| - PictureImageLayerImpl(LayerTreeImpl* tree_impl, int id);
|
| + PictureImageLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask);
|
|
|
| bool ShouldAdjustRasterScale() const override;
|
| void RecalculateRasterScales() override;
|
|
|