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

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: remove paint_simplifier include 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
« cc/resources/tile.h ('K') | « 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 876d8ae95b332dc849630dcd70b46ba04f8d9cdc..2f6c69f977a70d899db04f1eae495b4c4e043d6b 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -5084,13 +5084,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::TileDrawInfo& draw_info = tile->GetTileDrawInfo();
+ EXPECT_TRUE(draw_info.IsReadyToDraw());
+ EXPECT_NE(ManagedTileState::TileDrawInfo::PICTURE_PILE_MODE,
+ draw_info.mode());
resource_tiles_count +=
- tile_version.mode() == ManagedTileState::TileVersion::RESOURCE_MODE;
+ draw_info.mode() == ManagedTileState::TileDrawInfo::RESOURCE_MODE;
}
EXPECT_GT(resource_tiles_count, 0);
« cc/resources/tile.h ('K') | « 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