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

Unified Diff: cc/tiles/picture_layer_tiling.h

Issue 2711573002: cc: Fix tile priority inversion in picture layer tiling. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | cc/tiles/picture_layer_tiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/picture_layer_tiling.h
diff --git a/cc/tiles/picture_layer_tiling.h b/cc/tiles/picture_layer_tiling.h
index 962ae8d776bf636dbc55c082017b81cbf095873a..16d79838d7ae8e2d726b9aff589feba6d5e2f344 100644
--- a/cc/tiles/picture_layer_tiling.h
+++ b/cc/tiles/picture_layer_tiling.h
@@ -157,8 +157,10 @@ class CC_EXPORT PictureLayerTiling {
}
void UpdateAllRequiredStateForTesting() {
- for (const auto& key_tile_pair : tiles_)
- UpdateRequiredStatesOnTile(key_tile_pair.second.get());
+ for (const auto& key_tile_pair : tiles_) {
+ Tile* tile = key_tile_pair.second.get();
+ UpdateRequiredStatesOnTile(tile);
+ }
}
std::map<const Tile*, PrioritizedTile>
UpdateAndGetAllPrioritizedTilesForTesting() const;
« no previous file with comments | « no previous file | cc/tiles/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698