diff options
Diffstat (limited to 'cc/test')
-rw-r--r-- | cc/test/fake_picture_layer_tiling_client.cc | 4 | ||||
-rw-r--r-- | cc/test/fake_picture_layer_tiling_client.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc index dd64ac2..7834bc0 100644 --- a/cc/test/fake_picture_layer_tiling_client.cc +++ b/cc/test/fake_picture_layer_tiling_client.cc @@ -44,6 +44,10 @@ scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile( pile_.get(), tile_size_, rect, gfx::Rect(), 1, 0, 0, 0); } +PicturePileImpl* FakePictureLayerTilingClient::GetPile() { + return pile_.get(); +} + void FakePictureLayerTilingClient::SetTileSize(const gfx::Size& tile_size) { tile_size_ = tile_size; } diff --git a/cc/test/fake_picture_layer_tiling_client.h b/cc/test/fake_picture_layer_tiling_client.h index 7440ea7..6bdede0 100644 --- a/cc/test/fake_picture_layer_tiling_client.h +++ b/cc/test/fake_picture_layer_tiling_client.h @@ -23,7 +23,7 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient { // PictureLayerTilingClient implementation. virtual scoped_refptr<Tile> CreateTile( PictureLayerTiling* tiling, const gfx::Rect& rect) OVERRIDE; - virtual void UpdatePile(Tile* tile) OVERRIDE {} + virtual PicturePileImpl* GetPile() OVERRIDE; virtual gfx::Size CalculateTileSize( const gfx::Size& content_bounds) const OVERRIDE; virtual size_t GetMaxTilesForInterestArea() const OVERRIDE; @@ -32,8 +32,6 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient { void SetTileSize(const gfx::Size& tile_size); gfx::Size TileSize() const { return tile_size_; } - scoped_refptr<PicturePileImpl> pile() { return pile_; } - const PicturePileImpl* pile() const { return pile_.get(); } virtual const Region* GetInvalidation() OVERRIDE; virtual const PictureLayerTiling* GetTwinTiling( |