diff options
Diffstat (limited to 'cc/test/fake_delegated_renderer_layer.cc')
-rw-r--r-- | cc/test/fake_delegated_renderer_layer.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cc/test/fake_delegated_renderer_layer.cc b/cc/test/fake_delegated_renderer_layer.cc new file mode 100644 index 0000000..ba37843 --- /dev/null +++ b/cc/test/fake_delegated_renderer_layer.cc @@ -0,0 +1,21 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "cc/test/fake_delegated_renderer_layer.h" + +#include "cc/test/fake_delegated_renderer_layer_impl.h" + +namespace cc { + +FakeDelegatedRendererLayer::FakeDelegatedRendererLayer() {} + +FakeDelegatedRendererLayer::~FakeDelegatedRendererLayer() {} + +scoped_ptr<LayerImpl> FakeDelegatedRendererLayer::createLayerImpl( + LayerTreeImpl* tree_impl) { + return FakeDelegatedRendererLayerImpl::Create( + tree_impl, m_layerId).PassAs<LayerImpl>(); +} + +} // namespace cc |