| 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(), &client_, proxy) { |
| 11 { | |
| 12 // Explicitly clear all debug settings. | 11 // Explicitly clear all debug settings. |
| 13 setDebugState(LayerTreeDebugState()); | 12 SetDebugState(LayerTreeDebugState()); |
| 14 } | 13 } |
| 15 | 14 |
| 16 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( | 15 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( |
| 17 const LayerTreeSettings& settings, | 16 const LayerTreeSettings& settings, |
| 18 Proxy* proxy) | 17 Proxy* proxy) |
| 19 : LayerTreeHostImpl(settings, &client_, proxy) | 18 : LayerTreeHostImpl(settings, &client_, proxy) { |
| 20 { | |
| 21 // Explicitly clear all debug settings. | 19 // Explicitly clear all debug settings. |
| 22 setDebugState(LayerTreeDebugState()); | 20 SetDebugState(LayerTreeDebugState()); |
| 23 } | 21 } |
| 24 | 22 |
| 25 FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() | 23 FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {} |
| 26 { | |
| 27 } | |
| 28 | 24 |
| 29 } // namespace cc | 25 } // namespace cc |
| OLD | NEW |