| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 "config.h" | |
| 6 | |
| 7 #include "cc/video_layer.h" | 5 #include "cc/video_layer.h" |
| 8 | 6 |
| 9 #include "cc/video_layer_impl.h" | 7 #include "cc/video_layer_impl.h" |
| 10 | 8 |
| 11 namespace cc { | 9 namespace cc { |
| 12 | 10 |
| 13 scoped_refptr<VideoLayer> VideoLayer::create( | 11 scoped_refptr<VideoLayer> VideoLayer::create( |
| 14 WebKit::WebVideoFrameProvider* provider, | 12 WebKit::WebVideoFrameProvider* provider, |
| 15 const FrameUnwrapper& unwrapper) | 13 const FrameUnwrapper& unwrapper) |
| 16 { | 14 { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 28 VideoLayer::~VideoLayer() | 26 VideoLayer::~VideoLayer() |
| 29 { | 27 { |
| 30 } | 28 } |
| 31 | 29 |
| 32 scoped_ptr<LayerImpl> VideoLayer::createLayerImpl() | 30 scoped_ptr<LayerImpl> VideoLayer::createLayerImpl() |
| 33 { | 31 { |
| 34 return VideoLayerImpl::create(m_layerId, m_provider, m_unwrapper).PassAs<Lay
erImpl>(); | 32 return VideoLayerImpl::create(m_layerId, m_provider, m_unwrapper).PassAs<Lay
erImpl>(); |
| 35 } | 33 } |
| 36 | 34 |
| 37 } // namespace cc | 35 } // namespace cc |
| OLD | NEW |