| Index: cc/layers/video_layer.cc
|
| diff --git a/cc/layers/video_layer.cc b/cc/layers/video_layer.cc
|
| index cae00aacf1d02f0631d2ef09f2c6984c20111a38..49d6490d7d1db73de39a70047f901f344a81aa2f 100644
|
| --- a/cc/layers/video_layer.cc
|
| +++ b/cc/layers/video_layer.cc
|
| @@ -25,9 +25,7 @@ VideoLayer::VideoLayer(const LayerSettings& settings,
|
| VideoLayer::~VideoLayer() {}
|
|
|
| scoped_ptr<LayerImpl> VideoLayer::CreateLayerImpl(LayerTreeImpl* tree_impl) {
|
| - scoped_ptr<VideoLayerImpl> impl =
|
| - VideoLayerImpl::Create(tree_impl, id(), provider_, video_rotation_);
|
| - return impl.Pass();
|
| + return VideoLayerImpl::Create(tree_impl, id(), provider_, video_rotation_);
|
| }
|
|
|
| bool VideoLayer::Update() {
|
|
|