Index: cc/test/fake_picture_layer_impl.h |
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h |
index 3aeeb1c3e7a69707e868cb0fa1d13162a270745a..291152f8eaf29c2fef3480eecd418f9c20bf5967 100644 |
--- a/cc/test/fake_picture_layer_impl.h |
+++ b/cc/test/fake_picture_layer_impl.h |
@@ -7,7 +7,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "cc/layers/picture_layer_impl.h" |
-#include "cc/playback/raster_source.h" |
+#include "cc/playback/display_list_raster_source.h" |
namespace cc { |
@@ -29,7 +29,7 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
static scoped_ptr<FakePictureLayerImpl> CreateWithRasterSource( |
LayerTreeImpl* tree_impl, |
int id, |
- scoped_refptr<RasterSource> raster_source) { |
+ scoped_refptr<DisplayListRasterSource> raster_source) { |
bool is_mask = false; |
return make_scoped_ptr( |
new FakePictureLayerImpl(tree_impl, id, raster_source, is_mask)); |
@@ -39,7 +39,7 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
static scoped_ptr<FakePictureLayerImpl> CreateWithPartialRasterSource( |
LayerTreeImpl* tree_impl, |
int id, |
- scoped_refptr<RasterSource> raster_source, |
+ scoped_refptr<DisplayListRasterSource> raster_source, |
const gfx::Size& layer_bounds) { |
bool is_mask = false; |
return make_scoped_ptr(new FakePictureLayerImpl( |
@@ -51,7 +51,7 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
static scoped_ptr<FakePictureLayerImpl> CreateMaskWithRasterSource( |
LayerTreeImpl* tree_impl, |
int id, |
- scoped_refptr<RasterSource> raster_source) { |
+ scoped_refptr<DisplayListRasterSource> raster_source) { |
bool is_mask = true; |
return make_scoped_ptr( |
new FakePictureLayerImpl(tree_impl, id, raster_source, is_mask)); |
@@ -104,9 +104,10 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
size_t num_tilings() const { return tilings_->num_tilings(); } |
PictureLayerTilingSet* tilings() { return tilings_.get(); } |
- RasterSource* raster_source() { return raster_source_.get(); } |
- void SetRasterSourceOnPending(scoped_refptr<RasterSource> raster_source, |
- const Region& invalidation); |
+ DisplayListRasterSource* raster_source() { return raster_source_.get(); } |
+ void SetRasterSourceOnPending( |
+ scoped_refptr<DisplayListRasterSource> raster_source, |
+ const Region& invalidation); |
size_t append_quads_count() { return append_quads_count_; } |
const Region& invalidation() const { return invalidation_; } |
@@ -150,11 +151,11 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
protected: |
FakePictureLayerImpl(LayerTreeImpl* tree_impl, |
int id, |
- scoped_refptr<RasterSource> raster_source, |
+ scoped_refptr<DisplayListRasterSource> raster_source, |
bool is_mask); |
FakePictureLayerImpl(LayerTreeImpl* tree_impl, |
int id, |
- scoped_refptr<RasterSource> raster_source, |
+ scoped_refptr<DisplayListRasterSource> raster_source, |
bool is_mask, |
const gfx::Size& layer_bounds); |
FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask); |