| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/test/fake_delegated_renderer_layer.h" | 5 #include "cc/test/fake_delegated_renderer_layer.h" |
| 6 | 6 |
| 7 #include "cc/test/fake_delegated_renderer_layer_impl.h" | 7 #include "cc/test/fake_delegated_renderer_layer_impl.h" |
| 8 | 8 |
| 9 namespace cc { | 9 namespace cc { |
| 10 | 10 |
| 11 FakeDelegatedRendererLayer::FakeDelegatedRendererLayer() {} | 11 FakeDelegatedRendererLayer::FakeDelegatedRendererLayer() {} |
| 12 | 12 |
| 13 FakeDelegatedRendererLayer::~FakeDelegatedRendererLayer() {} | 13 FakeDelegatedRendererLayer::~FakeDelegatedRendererLayer() {} |
| 14 | 14 |
| 15 scoped_ptr<LayerImpl> FakeDelegatedRendererLayer::createLayerImpl( | 15 scoped_ptr<LayerImpl> FakeDelegatedRendererLayer::CreateLayerImpl( |
| 16 LayerTreeImpl* tree_impl) { | 16 LayerTreeImpl* tree_impl) { |
| 17 return FakeDelegatedRendererLayerImpl::Create( | 17 return FakeDelegatedRendererLayerImpl::Create( |
| 18 tree_impl, m_layerId).PassAs<LayerImpl>(); | 18 tree_impl, layer_id_).PassAs<LayerImpl>(); |
| 19 } | 19 } |
| 20 | 20 |
| 21 } // namespace cc | 21 } // namespace cc |
| OLD | NEW |