| Index: webkit/compositor_bindings/WebImageLayerImpl.cpp
|
| diff --git a/webkit/compositor_bindings/WebImageLayerImpl.cpp b/webkit/compositor_bindings/WebImageLayerImpl.cpp
|
| deleted file mode 100644
|
| index f146f33c71d5a3e40ab51c8fc8c35a925f159a28..0000000000000000000000000000000000000000
|
| --- a/webkit/compositor_bindings/WebImageLayerImpl.cpp
|
| +++ /dev/null
|
| @@ -1,39 +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 "WebImageLayerImpl.h"
|
| -
|
| -#include "cc/image_layer.h"
|
| -#include "WebLayerImpl.h"
|
| -
|
| -using cc::ImageLayerChromium;
|
| -
|
| -namespace WebKit {
|
| -
|
| -WebImageLayer* WebImageLayer::create()
|
| -{
|
| - return new WebImageLayerImpl();
|
| -}
|
| -
|
| -WebImageLayerImpl::WebImageLayerImpl()
|
| - : m_layer(new WebLayerImpl(ImageLayerChromium::create()))
|
| -{
|
| -}
|
| -
|
| -WebImageLayerImpl::~WebImageLayerImpl()
|
| -{
|
| -}
|
| -
|
| -WebLayer* WebImageLayerImpl::layer()
|
| -{
|
| - return m_layer.get();
|
| -}
|
| -
|
| -void WebImageLayerImpl::setBitmap(SkBitmap bitmap)
|
| -{
|
| - static_cast<ImageLayerChromium*>(m_layer->layer())->setBitmap(bitmap);
|
| -}
|
| -
|
| -} // namespace WebKit
|
|
|