Lots of random cleanups, mostly for native_theme_win.cc:
[chromium-blink-merge.git] / cc / test / fake_delegated_renderer_layer.cc
blobe8c2c0a0299f0aed22769f57ad8ba4ea2ca54b35
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 DelegatedFrameProvider* frame_provider)
13 : DelegatedRendererLayer(frame_provider) {}
15 FakeDelegatedRendererLayer::~FakeDelegatedRendererLayer() {}
17 scoped_ptr<LayerImpl> FakeDelegatedRendererLayer::CreateLayerImpl(
18 LayerTreeImpl* tree_impl) {
19 return FakeDelegatedRendererLayerImpl::Create(
20 tree_impl, layer_id_).PassAs<LayerImpl>();
23 } // namespace cc