| 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..e5f5082ebce2237aff09f79a396d5514ad92aa77 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::TileDrawInfo& draw_info = last_tile->GetTileDrawInfo();
|
| + draw_info.SetSolidColorForTesting(SK_ColorRED);
|
| }
|
| ++it;
|
| int eventually_bin_order_correct_count = 0;
|
| @@ -1154,10 +1152,9 @@ 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::TileDrawInfo& draw_info =
|
| + last_tile->GetTileDrawInfo();
|
| + draw_info.SetSolidColorForTesting(SK_ColorRED);
|
| }
|
| }
|
|
|
|
|