Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(826)

Unified Diff: webkit/compositor_bindings/web_io_surface_layer_impl.cc

Issue 12428009: Remove WebIOSurfaceLayer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove include from web_compositor_support_impl.cc Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/compositor_bindings/web_io_surface_layer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_io_surface_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_io_surface_layer_impl.cc b/webkit/compositor_bindings/web_io_surface_layer_impl.cc
deleted file mode 100644
index e4ddc72f0844cb50ac9e5e65f2ca6b2529aabd04..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/web_io_surface_layer_impl.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2012 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_io_surface_layer_impl.h"
-
-#include "cc/io_surface_layer.h"
-#include "webkit/compositor_bindings/web_layer_impl.h"
-
-using cc::IOSurfaceLayer;
-
-namespace WebKit {
-
-WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl()
- : layer_(new WebLayerImpl(IOSurfaceLayer::create())) {
- layer_->layer()->setIsDrawable(true);
-}
-
-WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl() {}
-
-void WebIOSurfaceLayerImpl::setIOSurfaceProperties(unsigned io_surface_id,
- WebSize size) {
- static_cast<IOSurfaceLayer*>(layer_->layer())
- ->setIOSurfaceProperties(io_surface_id, size);
-}
-
-WebLayer* WebIOSurfaceLayerImpl::layer() { return layer_.get(); }
-
-} // namespace WebKit
« no previous file with comments | « webkit/compositor_bindings/web_io_surface_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698