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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 603683006: cc: Remove low quality mode and cleanup tile versions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 6 years, 3 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.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index 7f9eb3b6bce2ce29f367f5c9ded0dc72b3ebbfea..22bb9fdb5d45fa861b62b3be61bad88741fa6d03 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -5078,13 +5078,12 @@ class LayerTreeHostTestInvisibleDoesntActivate : public LayerTreeHostTest {
for (std::vector<Tile*>::iterator it = tiles.begin(); it != tiles.end();
++it) {
Tile* tile = *it;
- const ManagedTileState::TileVersion& tile_version =
- tile->GetTileVersionForDrawing();
- EXPECT_TRUE(tile_version.IsReadyToDraw());
- EXPECT_NE(ManagedTileState::TileVersion::PICTURE_PILE_MODE,
- tile_version.mode());
+ const ManagedTileState::DrawInfo& draw_info = tile->draw_info();
+ EXPECT_TRUE(draw_info.IsReadyToDraw());
+ EXPECT_NE(ManagedTileState::DrawInfo::PICTURE_PILE_MODE,
+ draw_info.mode());
resource_tiles_count +=
- tile_version.mode() == ManagedTileState::TileVersion::RESOURCE_MODE;
+ draw_info.mode() == ManagedTileState::DrawInfo::RESOURCE_MODE;
}
EXPECT_GT(resource_tiles_count, 0);
« no previous file with comments | « cc/test/fake_picture_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698