1 // Copyright 2013 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_delegated_renderer_layer.h"
7 #include "cc/test/fake_delegated_renderer_layer_impl.h"
11 FakeDelegatedRendererLayer::FakeDelegatedRendererLayer() {}
13 FakeDelegatedRendererLayer::~FakeDelegatedRendererLayer() {}
15 scoped_ptr
<LayerImpl
> FakeDelegatedRendererLayer::CreateLayerImpl(
16 LayerTreeImpl
* tree_impl
) {
17 return FakeDelegatedRendererLayerImpl::Create(
18 tree_impl
, layer_id_
).PassAs
<LayerImpl
>();