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

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: fix a nit 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
« no previous file with comments | « 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 aeb859d7b2c0bb695712c514900917bb4038ac0e..2d2e329958f63eba89fe3ac4fe45dd77ee90d274 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -174,8 +174,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());
}
« no previous file with comments | « 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