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

Unified Diff: cc/debug/rasterize_and_record_benchmark.h

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/micro_benchmark_controller.cc ('k') | cc/debug/rasterize_and_record_benchmark.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rasterize_and_record_benchmark.h
diff --git a/cc/debug/rasterize_and_record_benchmark.h b/cc/debug/rasterize_and_record_benchmark.h
index f52b838d22d76f907dfc6ee4b16761cf969d0d1f..f5f8e4599ed231d30698cd3feacd1a6febd7b502 100644
--- a/cc/debug/rasterize_and_record_benchmark.h
+++ b/cc/debug/rasterize_and_record_benchmark.h
@@ -23,7 +23,7 @@ class DictionaryValue;
namespace cc {
-class LayerTreeHost;
+class LayerTree;
class Layer;
class RasterizeAndRecordBenchmark : public MicroBenchmark {
@@ -34,7 +34,7 @@ class RasterizeAndRecordBenchmark : public MicroBenchmark {
~RasterizeAndRecordBenchmark() override;
// Implements MicroBenchmark interface.
- void DidUpdateLayers(LayerTreeHost* host) override;
+ void DidUpdateLayers(LayerTree* layer_tree) override;
void RunOnLayer(PictureLayer* layer) override;
std::unique_ptr<MicroBenchmarkImpl> CreateBenchmarkImpl(
@@ -60,7 +60,7 @@ class RasterizeAndRecordBenchmark : public MicroBenchmark {
// The following is used in DCHECKs.
bool main_thread_benchmark_done_;
- LayerTreeHost* host_;
+ LayerTree* layer_tree_;
base::WeakPtrFactory<RasterizeAndRecordBenchmark> weak_ptr_factory_;
};
« no previous file with comments | « cc/debug/micro_benchmark_controller.cc ('k') | cc/debug/rasterize_and_record_benchmark.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698