Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3144)

Unified Diff: cc/test/fake_picture_layer_tiling_client.h

Issue 732423002: Update from chromium https://crrev.com/304586 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_picture_layer_impl.cc ('k') | cc/test/fake_picture_layer_tiling_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_tiling_client.h
diff --git a/cc/test/fake_picture_layer_tiling_client.h b/cc/test/fake_picture_layer_tiling_client.h
index c8cc4e21c4c29d41e2f8c5d82700e7f44388c99f..acf26d087c398f95ab2f09cbee2e97f45913aee8 100644
--- a/cc/test/fake_picture_layer_tiling_client.h
+++ b/cc/test/fake_picture_layer_tiling_client.h
@@ -23,7 +23,6 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient {
// PictureLayerTilingClient implementation.
scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling,
const gfx::Rect& rect) override;
- RasterSource* GetRasterSource() override;
gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override;
TilePriority::PriorityBin GetMaxTilePriorityBin() const override;
size_t GetMaxTilesForInterestArea() const override;
@@ -61,6 +60,7 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient {
skewport_extrapolation_limit_in_content_pixels_ = limit;
}
void set_tree(WhichTree tree) { tree_ = tree; }
+ RasterSource* raster_source() { return pile_.get(); }
TileManager* tile_manager() const {
return tile_manager_.get();
« no previous file with comments | « cc/test/fake_picture_layer_impl.cc ('k') | cc/test/fake_picture_layer_tiling_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698