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

Unified Diff: cc/test/fake_picture_layer_impl.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
« cc/resources/tile.h ('K') | « cc/resources/tiling_set_eviction_queue.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_impl.cc
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index 8153442464ef4f5428422a2c40fb0a882e9fffe2..ad41e0910cac3c94440a698ff80ca61adafc316f 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -169,8 +169,8 @@ void FakePictureLayerImpl::SetAllTilesReadyInTiling(
}
void FakePictureLayerImpl::SetTileReady(Tile* tile) {
- ManagedTileState& state = tile->managed_state();
- state.draw_info.SetSolidColorForTesting(true);
+ TileDrawInfo& draw_info = tile->draw_info();
+ draw_info.SetSolidColorForTesting(true);
DCHECK(tile->IsReadyToDraw());
}
« cc/resources/tile.h ('K') | « cc/resources/tiling_set_eviction_queue.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698