Index: cc/test/fake_mask_layer_impl.h |
diff --git a/cc/test/fake_mask_layer_impl.h b/cc/test/fake_mask_layer_impl.h |
index b4225bad40249e9f50fa0fcc4e59fbb282771b24..296290c676b06a324cda778f53c3f7ff6f51acdc 100644 |
--- a/cc/test/fake_mask_layer_impl.h |
+++ b/cc/test/fake_mask_layer_impl.h |
@@ -5,20 +5,27 @@ |
#ifndef CC_TEST_FAKE_MASK_LAYER_IMPL_H_ |
#define CC_TEST_FAKE_MASK_LAYER_IMPL_H_ |
-#include "cc/layers/layer_impl.h" |
+#include "cc/layers/picture_layer_impl.h" |
+#include "cc/playback/raster_source.h" |
namespace cc { |
-class FakeMaskLayerImpl : public LayerImpl { |
+class FakeMaskLayerImpl : public PictureLayerImpl { |
public: |
- static std::unique_ptr<FakeMaskLayerImpl> Create(LayerTreeImpl* tree_impl, |
- int id); |
+ static std::unique_ptr<FakeMaskLayerImpl> Create( |
+ LayerTreeImpl* tree_impl, |
+ int id, |
+ scoped_refptr<RasterSource> raster_source, |
+ Layer::LayerMaskType mask_type); |
void GetContentsResourceId(ResourceId* resource_id, |
gfx::Size* resource_size) const override; |
private: |
- FakeMaskLayerImpl(LayerTreeImpl* tree_impl, int id); |
+ FakeMaskLayerImpl(LayerTreeImpl* tree_impl, |
+ int id, |
+ scoped_refptr<RasterSource> raster_source, |
+ Layer::LayerMaskType mask_type); |
}; |
} // namespace cc |