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
3 // found in the LICENSE file.
5 #include "cc/test/fake_layer_tree_host_impl.h"
9 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy
* proxy
)
10 : LayerTreeHostImpl(LayerTreeSettings(),
13 &stats_instrumentation_
) {
14 // Explicitly clear all debug settings.
15 SetDebugState(LayerTreeDebugState());
18 FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(
19 const LayerTreeSettings
& settings
,
21 : LayerTreeHostImpl(settings
,
24 &stats_instrumentation_
) {
25 // Explicitly clear all debug settings.
26 SetDebugState(LayerTreeDebugState());
29 FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {}