Index: webkit/compositor_bindings/web_video_layer_impl.cc |
diff --git a/webkit/compositor_bindings/web_video_layer_impl.cc b/webkit/compositor_bindings/web_video_layer_impl.cc |
deleted file mode 100644 |
index bb2470fb43ce6b6c09d86c609010d3c6575f8e72..0000000000000000000000000000000000000000 |
--- a/webkit/compositor_bindings/web_video_layer_impl.cc |
+++ /dev/null |
@@ -1,29 +0,0 @@ |
-// Copyright 2011 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 "webkit/compositor_bindings/web_video_layer_impl.h" |
- |
-#include "base/bind.h" |
-#include "cc/layers/video_layer.h" |
-#include "webkit/compositor_bindings/web_layer_impl.h" |
-#include "webkit/compositor_bindings/web_to_ccvideo_frame_provider.h" |
-#include "webkit/media/webvideoframe_impl.h" |
- |
-namespace webkit { |
- |
-WebVideoLayerImpl::WebVideoLayerImpl( |
- WebKit::WebVideoFrameProvider* web_provider) |
- : provider_adapter_(WebToCCVideoFrameProvider::Create(web_provider)), |
- layer_( |
- new WebLayerImpl(cc::VideoLayer::Create(provider_adapter_.get()))) {} |
- |
-WebVideoLayerImpl::~WebVideoLayerImpl() {} |
- |
-WebKit::WebLayer* WebVideoLayerImpl::layer() { return layer_.get(); } |
- |
-bool WebVideoLayerImpl::active() const { |
- return !!layer_->layer()->layer_tree_host(); |
-} |
- |
-} // namespace webkit |