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 09657ef68d1144191ee3fcecfbe991f8018b5be7..29426e80db3b7dca29676e2f1ff3cd059061d3ca 100644 |
--- a/cc/test/fake_layer_tree_host.h |
+++ b/cc/test/fake_layer_tree_host.h |
@@ -5,6 +5,7 @@ |
#ifndef CC_TEST_FAKE_LAYER_TREE_HOST_H_ |
#define CC_TEST_FAKE_LAYER_TREE_HOST_H_ |
+#include "cc/debug/micro_benchmark_controller.h" |
#include "cc/test/fake_impl_proxy.h" |
#include "cc/test/fake_layer_tree_host_client.h" |
#include "cc/test/fake_layer_tree_host_impl.h" |
@@ -42,6 +43,10 @@ class FakeLayerTreeHost : public LayerTreeHost { |
LayerTreeHost::UpdateLayers(queue); |
} |
+ MicroBenchmarkController* GetMicroBenchmarkController() { |
+ return µ_benchmark_controller_; |
+ } |
+ |
bool needs_commit() { return needs_commit_; } |
private: |