Index: cc/test/fake_layer_tree_host.h |
diff --git a/cc/test/fake_layer_tree_host.h b/cc/test/fake_layer_tree_host.h |
index 5e6bb1026ffdeb1bb95b35d7ca64daa907b24d75..b0b9cdeb920c40481827c3f7ef2b12c75eeb22b3 100644 |
--- a/cc/test/fake_layer_tree_host.h |
+++ b/cc/test/fake_layer_tree_host.h |
@@ -26,6 +26,11 @@ class FakeLayerTreeHost : public LayerTreeHost { |
FakeLayerTreeHostClient* client, |
TestTaskGraphRunner* task_graph_runner, |
const LayerTreeSettings& settings); |
+ static scoped_ptr<FakeLayerTreeHost> Create( |
+ FakeLayerTreeHostClient* client, |
+ TestTaskGraphRunner* task_graph_runner, |
+ const LayerTreeSettings& settings, |
+ CompositorMode mode); |
~FakeLayerTreeHost() override; |
@@ -47,6 +52,8 @@ class FakeLayerTreeHost : public LayerTreeHost { |
using LayerTreeHost::SetOutputSurfaceLostForTesting; |
using LayerTreeHost::InitializeSingleThreaded; |
using LayerTreeHost::InitializeForTesting; |
+ using LayerTreeHost::RecordGpuRasterizationHistogram; |
+ |
void UpdateLayers() { LayerTreeHost::UpdateLayers(); } |
MicroBenchmarkController* GetMicroBenchmarkController() { |
@@ -62,7 +69,8 @@ class FakeLayerTreeHost : public LayerTreeHost { |
protected: |
FakeLayerTreeHost(FakeLayerTreeHostClient* client, |
- LayerTreeHost::InitParams* params); |
+ LayerTreeHost::InitParams* params, |
+ CompositorMode mode); |
private: |
FakeImplTaskRunnerProvider task_runner_provider_; |