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/rasterize_and_record_benchmark.h

Issue 2661523003: cc: Merge LayerTree into the LayerTreeHost. (Closed)
Patch Set: auto Created 3 years, 11 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 63d7a34f3f04d85073b665b2346b72882b8690b6..91734a50c1ab1bf787c66e2300ee2b752386e855 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 LayerTree;
+class LayerTreeHost;
class RasterizeAndRecordBenchmark : public MicroBenchmark {
public:
@@ -33,7 +33,7 @@ class RasterizeAndRecordBenchmark : public MicroBenchmark {
~RasterizeAndRecordBenchmark() override;
// Implements MicroBenchmark interface.
- void DidUpdateLayers(LayerTree* layer_tree) override;
+ void DidUpdateLayers(LayerTreeHost* layer_tree_host) override;
void RunOnLayer(PictureLayer* layer) override;
std::unique_ptr<MicroBenchmarkImpl> CreateBenchmarkImpl(
@@ -59,7 +59,7 @@ class RasterizeAndRecordBenchmark : public MicroBenchmark {
// The following is used in DCHECKs.
bool main_thread_benchmark_done_;
- LayerTree* layer_tree_;
+ LayerTreeHost* layer_tree_host_;
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