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

Unified Diff: cc/resources/picture_layer_tiling_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/resources/picture_layer_tiling_perftest.cc ('k') | cc/resources/raster_mode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e64191d3b323bd72ddc731835c0c3f742d1be8a0..1a242a3f860efd14058752e77a44de0e19e8f524 100644
--- a/cc/resources/picture_layer_tiling_unittest.cc
+++ b/cc/resources/picture_layer_tiling_unittest.cc
@@ -1116,10 +1116,8 @@ TEST(PictureLayerTilingTest, TilingRasterTileIteratorStaticViewport) {
// On the second iteration, mark everything as ready to draw (solid color).
if (i == 1) {
- ManagedTileState::TileVersion& tile_version =
- last_tile->GetTileVersionForTesting(
- last_tile->DetermineRasterModeForTree(ACTIVE_TREE));
- tile_version.SetSolidColorForTesting(SK_ColorRED);
+ ManagedTileState::DrawInfo& draw_info = last_tile->draw_info();
+ draw_info.SetSolidColorForTesting(SK_ColorRED);
}
++it;
int eventually_bin_order_correct_count = 0;
@@ -1154,10 +1152,8 @@ TEST(PictureLayerTilingTest, TilingRasterTileIteratorStaticViewport) {
// On the second iteration, mark everything as ready to draw (solid
// color).
if (i == 1) {
- ManagedTileState::TileVersion& tile_version =
- last_tile->GetTileVersionForTesting(
- last_tile->DetermineRasterModeForTree(ACTIVE_TREE));
- tile_version.SetSolidColorForTesting(SK_ColorRED);
+ ManagedTileState::DrawInfo& draw_info = last_tile->draw_info();
+ draw_info.SetSolidColorForTesting(SK_ColorRED);
}
}
« no previous file with comments | « cc/resources/picture_layer_tiling_perftest.cc ('k') | cc/resources/raster_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698