| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/test/fake_layer_tree_host_impl.h" | 5 #include "cc/test/fake_layer_tree_host_impl.h" |
| 6 | 6 |
| 7 namespace cc { | 7 namespace cc { |
| 8 | 8 |
| 9 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy) | 9 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy) |
| 10 : LayerTreeHostImpl(LayerTreeSettings(), &client_, proxy) { | 10 : LayerTreeHostImpl(LayerTreeSettings(), |
| 11 &client_, |
| 12 proxy, |
| 13 &stats_instrumentation_) |
| 14 { |
| 11 // Explicitly clear all debug settings. | 15 // Explicitly clear all debug settings. |
| 12 SetDebugState(LayerTreeDebugState()); | 16 SetDebugState(LayerTreeDebugState()); |
| 13 } | 17 } |
| 14 | 18 |
| 15 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( | 19 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( |
| 16 const LayerTreeSettings& settings, | 20 const LayerTreeSettings& settings, |
| 17 Proxy* proxy) | 21 Proxy* proxy) |
| 18 : LayerTreeHostImpl(settings, &client_, proxy) { | 22 : LayerTreeHostImpl(settings, |
| 23 &client_, |
| 24 proxy, |
| 25 &stats_instrumentation_) |
| 26 { |
| 19 // Explicitly clear all debug settings. | 27 // Explicitly clear all debug settings. |
| 20 SetDebugState(LayerTreeDebugState()); | 28 SetDebugState(LayerTreeDebugState()); |
| 21 } | 29 } |
| 22 | 30 |
| 23 FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {} | 31 FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {} |
| 24 | 32 |
| 25 } // namespace cc | 33 } // namespace cc |
| OLD | NEW |