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

Unified Diff: cc/trees/draw_property_utils.cc

Issue 2216203002: Refactor MutatorHostClient from LayerTreeHost to LayerTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes according to code review. Created 4 years, 4 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
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index 44b5fa4b79fb729710ad770ba385bfa4636e2704..f0d50b08d564da61583f7c4f738fe9c1a3d0c28e 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -706,11 +706,11 @@ bool LayerShouldBeSkipped(Layer* layer,
effect_tree);
}
-void FindLayersThatNeedUpdates(LayerTreeHost* layer_tree_host,
+void FindLayersThatNeedUpdates(LayerTree* layer_tree,
const TransformTree& transform_tree,
const EffectTree& effect_tree,
LayerList* update_layer_list) {
- for (auto* layer : *layer_tree_host) {
+ for (auto* layer : *layer_tree) {
bool layer_is_drawn =
effect_tree.Node(layer->effect_tree_index())->is_drawn;

Powered by Google App Engine
This is Rietveld 408576698