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

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 2629233002: cc: Remove separate x/y raster scales. (Closed)
Patch Set: Created 3 years, 11 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/raster/zero_copy_raster_buffer_provider.cc ('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 b42c3063598b904d37b24c7a28851278ddea4e23..e4b3a32105d4c5285591b402ec7ed1da604231ff 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -66,8 +66,7 @@ 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_key() ==
- tiling->contents_scale_key())
+ if (twin_set_->tiling_at(i)->contents_scale() == tiling->contents_scale())
return twin_set_->tiling_at(i);
}
return nullptr;
« no previous file with comments | « cc/raster/zero_copy_raster_buffer_provider.cc ('k') | cc/tiles/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698