Chromium Code Reviews| 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 : rendering_stats_instrumentation_(RenderingStatsInstrumentation::Create()), |
|
tapted
2013/03/21 02:27:22
sheriff drive-by: I'm .. pretty sure the compiler
| |
| 11 LayerTreeHostImpl(LayerTreeSettings(), | |
| 12 &client_, | |
| 13 proxy, | |
| 14 rendering_stats_instrumentation_.get()) | |
| 15 { | |
| 11 // Explicitly clear all debug settings. | 16 // Explicitly clear all debug settings. |
| 12 SetDebugState(LayerTreeDebugState()); | 17 SetDebugState(LayerTreeDebugState()); |
| 13 } | 18 } |
| 14 | 19 |
| 15 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( | 20 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl( |
| 16 const LayerTreeSettings& settings, | 21 const LayerTreeSettings& settings, |
| 17 Proxy* proxy) | 22 Proxy* proxy) |
| 18 : LayerTreeHostImpl(settings, &client_, proxy) { | 23 : rendering_stats_instrumentation_(RenderingStatsInstrumentation::Create()), |
| 24 LayerTreeHostImpl(settings, | |
| 25 &client_, | |
| 26 proxy, | |
| 27 rendering_stats_instrumentation_.get()) | |
| 28 { | |
| 19 // Explicitly clear all debug settings. | 29 // Explicitly clear all debug settings. |
| 20 SetDebugState(LayerTreeDebugState()); | 30 SetDebugState(LayerTreeDebugState()); |
| 21 } | 31 } |
| 22 | 32 |
| 23 FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {} | 33 FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {} |
| 24 | 34 |
| 25 } // namespace cc | 35 } // namespace cc |
| OLD | NEW |