| Index: cc/test/fake_picture_pile_impl.h
|
| diff --git a/cc/test/fake_picture_pile_impl.h b/cc/test/fake_picture_pile_impl.h
|
| index ab27238bc7f156769842d22f965902788f4653f6..8e8e3d992cc3faa338fa8441b2b7316eb248afef 100644
|
| --- a/cc/test/fake_picture_pile_impl.h
|
| +++ b/cc/test/fake_picture_pile_impl.h
|
| @@ -10,6 +10,7 @@
|
| #include "cc/test/fake_content_layer_client.h"
|
|
|
| namespace cc {
|
| +class ThreadBlocker;
|
|
|
| class FakePicturePileImpl : public PicturePileImpl {
|
| public:
|
| @@ -23,6 +24,14 @@ class FakePicturePileImpl : public PicturePileImpl {
|
| CreateEmptyPileThatThinksItHasRecordings(const gfx::Size& tile_size,
|
| const gfx::Size& layer_bounds);
|
| static scoped_refptr<FakePicturePileImpl> CreateInfiniteFilledPile();
|
| + static scoped_refptr<FakePicturePileImpl> CreateFromPile(
|
| + const PicturePileBase* other,
|
| + ThreadBlocker* blocker);
|
| +
|
| + // Hi-jack the PlaybackToCanvas method to delay its completion.
|
| + void PlaybackToCanvas(SkCanvas* canvas,
|
| + const gfx::Rect& canvas_rect,
|
| + float contents_scale) const override;
|
|
|
| TilingData& tiling() { return tiling_; }
|
|
|
| @@ -84,11 +93,12 @@ class FakePicturePileImpl : public PicturePileImpl {
|
|
|
| protected:
|
| FakePicturePileImpl();
|
| - explicit FakePicturePileImpl(const PicturePileBase* other);
|
| + FakePicturePileImpl(const PicturePileBase* other, ThreadBlocker* blocker);
|
| ~FakePicturePileImpl() override;
|
|
|
| FakeContentLayerClient client_;
|
| SkPaint default_paint_;
|
| + ThreadBlocker* raster_thread_blocker_;
|
| SkTileGridFactory::TileGridInfo tile_grid_info_;
|
| };
|
|
|
|
|