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

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 12865017: Makes tile-creation lazy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing unit tests and an optimization to CreateTile Created 7 years, 8 months 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
Index: cc/test/fake_picture_layer_tiling_client.cc
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index 94302f2d2665bf9376f1fc660a42ea9e4cd7d3a6..27e7f9247232a5ae33d646c95b5682127393a266 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -55,9 +55,17 @@ void FakePictureLayerTilingClient::SetTileSize(gfx::Size tile_size) {
}
gfx::Size FakePictureLayerTilingClient::CalculateTileSize(
- gfx::Size /* current_tile_size */,
gfx::Size /* content_bounds */) {
return tile_size_;
}
+const Region* FakePictureLayerTilingClient::GetInvalidation() {
+ return NULL;
+}
+
+const PictureLayerTiling* FakePictureLayerTilingClient::GetTwinTiling(
+ const PictureLayerTiling* tiling) {
+ return NULL;
+}
+
} // namespace cc
« cc/layers/picture_layer_impl.cc ('K') | « cc/test/fake_picture_layer_tiling_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698