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

Unified Diff: cc/debug/invalidation_benchmark.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/debug/invalidation_benchmark.h ('k') | cc/debug/micro_benchmark.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/invalidation_benchmark.cc
diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc
index 7bb17d8dec407e089e2ecb689df50e4c0c9964db..3923c14a3b7cfec293a7ab8929eedc600ab5e6ec 100644
--- a/cc/debug/invalidation_benchmark.cc
+++ b/cc/debug/invalidation_benchmark.cc
@@ -14,7 +14,7 @@
#include "cc/layers/layer.h"
#include "cc/layers/picture_layer.h"
#include "cc/trees/draw_property_utils.h"
-#include "cc/trees/layer_tree_host.h"
+#include "cc/trees/layer_tree.h"
#include "cc/trees/layer_tree_host_common.h"
#include "ui/gfx/geometry/rect.h"
@@ -63,9 +63,9 @@ InvalidationBenchmark::InvalidationBenchmark(
InvalidationBenchmark::~InvalidationBenchmark() {
}
-void InvalidationBenchmark::DidUpdateLayers(LayerTreeHost* host) {
+void InvalidationBenchmark::DidUpdateLayers(LayerTree* layer_tree) {
LayerTreeHostCommon::CallFunctionForEveryLayer(
- host, [this](Layer* layer) { layer->RunMicroBenchmark(this); });
+ layer_tree, [this](Layer* layer) { layer->RunMicroBenchmark(this); });
}
void InvalidationBenchmark::RunOnLayer(PictureLayer* layer) {
« no previous file with comments | « cc/debug/invalidation_benchmark.h ('k') | cc/debug/micro_benchmark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698