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

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 2175553002: Raster PictureLayerTiling with fractional translation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: combined Created 3 years, 9 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
« no previous file with comments | « cc/test/fake_picture_layer_impl.h ('k') | cc/tiles/picture_layer_tiling.h » ('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.cc
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index e4b3a32105d4c5285591b402ec7ed1da604231ff..06c20b04be19afab94c7d59e4e3959e9ef08d382 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -66,7 +66,8 @@ FakePictureLayerTilingClient::GetPendingOrActiveTwinTiling(
if (!twin_set_)
return twin_tiling_;
for (size_t i = 0; i < twin_set_->num_tilings(); ++i) {
- if (twin_set_->tiling_at(i)->contents_scale() == tiling->contents_scale())
+ if (twin_set_->tiling_at(i)->raster_transform() ==
+ tiling->raster_transform())
return twin_set_->tiling_at(i);
}
return nullptr;
« no previous file with comments | « cc/test/fake_picture_layer_impl.h ('k') | cc/tiles/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698