Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / cc / test / fake_delegated_renderer_layer.cc
blob06d732abe5d7f032e8efee35cc9d00547b1fc5bb
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"
9 namespace cc {
11 FakeDelegatedRendererLayer::FakeDelegatedRendererLayer(
12 const LayerSettings& settings,
13 DelegatedFrameProvider* frame_provider)
14 : DelegatedRendererLayer(settings, frame_provider) {
17 FakeDelegatedRendererLayer::~FakeDelegatedRendererLayer() {}
19 scoped_ptr<LayerImpl> FakeDelegatedRendererLayer::CreateLayerImpl(
20 LayerTreeImpl* tree_impl) {
21 return FakeDelegatedRendererLayerImpl::Create(tree_impl, layer_id_);
24 } // namespace cc