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

Unified Diff: cc/resources/picture_layer_tiling_unittest.cc

Issue 640063010: cc: Don't swap PictureLayerTilingSet on activate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: noswap: reviewround1 Created 6 years 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/resources/picture_layer_tiling_unittest.cc
diff --git a/cc/resources/picture_layer_tiling_unittest.cc b/cc/resources/picture_layer_tiling_unittest.cc
index 9190b98e48dd5e4662adfbd0ce5b256fb45ac5f0..abcdfaa501f85535b17eafeb50d68063d867639b 100644
--- a/cc/resources/picture_layer_tiling_unittest.cc
+++ b/cc/resources/picture_layer_tiling_unittest.cc
@@ -1369,8 +1369,8 @@ TEST_F(PictureLayerTilingIteratorTest, AddTilingsToMatchScale) {
// Add the same tilings to the pending set.
auto pending_set = PictureLayerTilingSet::Create(&client_);
Region invalidation;
- pending_set->SyncTilings(*active_set, layer_bounds, invalidation, 0.f,
- client_.raster_source());
+ pending_set->SyncTilingsForTesting(*active_set, layer_bounds, invalidation,
+ 0.f, client_.raster_source());
// The pending tiling starts with no tiles.
VerifyTiles(pending_set->tiling_at(0), 1.f, gfx::Rect(layer_bounds),

Powered by Google App Engine
This is Rietveld 408576698