| Index: cc/test/layer_tree_test.cc
|
| diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
|
| index bd281bc58862629077858611b2137936c972e5d7..f4f421d33a1fe6e5ba38fe382f920f30b516b1c9 100644
|
| --- a/cc/test/layer_tree_test.cc
|
| +++ b/cc/test/layer_tree_test.cc
|
| @@ -69,19 +69,27 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
|
| TestHooks* test_hooks,
|
| const LayerTreeSettings& settings,
|
| LayerTreeHostImplClient* host_impl_client,
|
| - Proxy* proxy) {
|
| - return make_scoped_ptr(new LayerTreeHostImplForTesting(test_hooks,
|
| - settings,
|
| - host_impl_client,
|
| - proxy));
|
| + Proxy* proxy,
|
| + RenderingStatsInstrumentation* stats_instrumentation) {
|
| + return make_scoped_ptr(
|
| + new LayerTreeHostImplForTesting(test_hooks,
|
| + settings,
|
| + host_impl_client,
|
| + proxy,
|
| + stats_instrumentation));
|
| }
|
|
|
| protected:
|
| - LayerTreeHostImplForTesting(TestHooks* test_hooks,
|
| - const LayerTreeSettings& settings,
|
| - LayerTreeHostImplClient* host_impl_client,
|
| - Proxy* proxy)
|
| - : LayerTreeHostImpl(settings, host_impl_client, proxy),
|
| + LayerTreeHostImplForTesting(
|
| + TestHooks* test_hooks,
|
| + const LayerTreeSettings& settings,
|
| + LayerTreeHostImplClient* host_impl_client,
|
| + Proxy* proxy,
|
| + RenderingStatsInstrumentation* stats_instrumentation)
|
| + : LayerTreeHostImpl(settings,
|
| + host_impl_client,
|
| + proxy,
|
| + stats_instrumentation),
|
| test_hooks_(test_hooks) {}
|
|
|
| virtual void BeginCommit() OVERRIDE {
|
| @@ -191,7 +199,8 @@ class LayerTreeHostForTesting : public cc::LayerTreeHost {
|
| test_hooks_,
|
| settings(),
|
| host_impl_client,
|
| - proxy()).PassAs<cc::LayerTreeHostImpl>();
|
| + proxy(),
|
| + rendering_stats_instrumentation()).PassAs<cc::LayerTreeHostImpl>();
|
| }
|
|
|
| virtual void SetNeedsCommit() OVERRIDE {
|
|
|