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

Unified Diff: cc/resources/picture_layer_tiling_unittest.cc

Issue 793573006: Refactoring for merging ManagedTileState into Tile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename HasResources to HasResource 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 1ed4613baf841e93bf3549661629acb373210d15..41d6389160f81fffa5cf457d5a5cfac3a5c5cdd7 100644
--- a/cc/resources/picture_layer_tiling_unittest.cc
+++ b/cc/resources/picture_layer_tiling_unittest.cc
@@ -1138,7 +1138,7 @@ TEST(PictureLayerTilingTest, TilingRasterTileIteratorStaticViewport) {
// On the second iteration, mark everything as ready to draw (solid color).
if (i == 1) {
- ManagedTileState::DrawInfo& draw_info = last_tile->draw_info();
+ TileDrawInfo& draw_info = last_tile->draw_info();
draw_info.SetSolidColorForTesting(SK_ColorRED);
}
++it;
@@ -1174,7 +1174,7 @@ TEST(PictureLayerTilingTest, TilingRasterTileIteratorStaticViewport) {
// On the second iteration, mark everything as ready to draw (solid
// color).
if (i == 1) {
- ManagedTileState::DrawInfo& draw_info = last_tile->draw_info();
+ TileDrawInfo& draw_info = last_tile->draw_info();
draw_info.SetSolidColorForTesting(SK_ColorRED);
}
}

Powered by Google App Engine
This is Rietveld 408576698