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

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: Rebase on another LTH refactor CL. 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
« no previous file with comments | « cc/trees/draw_property_utils.h ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index f101bffa848ec1df0b70557bfe12c860b69667f7..a9b6f3d9114204ddd4e546070a07f6bb0dba34f0 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -14,7 +14,7 @@
#include "cc/layers/layer_impl.h"
#include "cc/trees/clip_node.h"
#include "cc/trees/effect_node.h"
-#include "cc/trees/layer_tree_host.h"
+#include "cc/trees/layer_tree.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/property_tree.h"
#include "cc/trees/property_tree_builder.h"
@@ -705,11 +705,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;
« no previous file with comments | « cc/trees/draw_property_utils.h ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698