| Index: webkit/compositor_bindings/WebIOSurfaceLayerImpl.cpp
|
| diff --git a/webkit/compositor_bindings/WebIOSurfaceLayerImpl.cpp b/webkit/compositor_bindings/WebIOSurfaceLayerImpl.cpp
|
| deleted file mode 100644
|
| index 0d9f5d649a59d3b608360575441654dedf04cebf..0000000000000000000000000000000000000000
|
| --- a/webkit/compositor_bindings/WebIOSurfaceLayerImpl.cpp
|
| +++ /dev/null
|
| @@ -1,41 +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 "config.h"
|
| -#include "WebIOSurfaceLayerImpl.h"
|
| -
|
| -#include "WebLayerImpl.h"
|
| -#include "cc/io_surface_layer.h"
|
| -#include "webcore_convert.h"
|
| -
|
| -using cc::IOSurfaceLayerChromium;
|
| -
|
| -namespace WebKit {
|
| -
|
| -WebIOSurfaceLayer* WebIOSurfaceLayer::create()
|
| -{
|
| - return new WebIOSurfaceLayerImpl();
|
| -}
|
| -
|
| -WebIOSurfaceLayerImpl::WebIOSurfaceLayerImpl()
|
| - : m_layer(new WebLayerImpl(IOSurfaceLayerChromium::create()))
|
| -{
|
| - m_layer->layer()->setIsDrawable(true);
|
| -}
|
| -
|
| -WebIOSurfaceLayerImpl::~WebIOSurfaceLayerImpl()
|
| -{
|
| -}
|
| -
|
| -void WebIOSurfaceLayerImpl::setIOSurfaceProperties(unsigned ioSurfaceId, WebSize size)
|
| -{
|
| - static_cast<IOSurfaceLayerChromium*>(m_layer->layer())->setIOSurfaceProperties(ioSurfaceId, convert(size));
|
| -}
|
| -
|
| -WebLayer* WebIOSurfaceLayerImpl::layer()
|
| -{
|
| - return m_layer.get();
|
| -}
|
| -
|
| -} // namespace WebKit
|
|
|