| Index: webkit/compositor_bindings/WebScrollbarLayerImpl.cpp
|
| diff --git a/webkit/compositor_bindings/WebScrollbarLayerImpl.cpp b/webkit/compositor_bindings/WebScrollbarLayerImpl.cpp
|
| deleted file mode 100644
|
| index ee5b4c7bfc13c6c7245ce606998cc211ed0560e8..0000000000000000000000000000000000000000
|
| --- a/webkit/compositor_bindings/WebScrollbarLayerImpl.cpp
|
| +++ /dev/null
|
| @@ -1,43 +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 "WebScrollbarLayerImpl.h"
|
| -
|
| -#include "WebLayerImpl.h"
|
| -#include "cc/scrollbar_layer.h"
|
| -
|
| -using cc::ScrollbarLayerChromium;
|
| -
|
| -namespace WebKit {
|
| -
|
| -WebScrollbarLayer* WebScrollbarLayer::create(WebScrollbar* scrollbar, WebScrollbarThemePainter painter, WebScrollbarThemeGeometry* geometry)
|
| -{
|
| - return new WebScrollbarLayerImpl(scrollbar, painter, geometry);
|
| -}
|
| -
|
| -
|
| -WebScrollbarLayerImpl::WebScrollbarLayerImpl(WebScrollbar* scrollbar, WebScrollbarThemePainter painter, WebScrollbarThemeGeometry* geometry)
|
| - : m_layer(new WebLayerImpl(ScrollbarLayerChromium::create(make_scoped_ptr(scrollbar), painter, make_scoped_ptr(geometry), 0)))
|
| -{
|
| -}
|
| -
|
| -WebScrollbarLayerImpl::~WebScrollbarLayerImpl()
|
| -{
|
| -}
|
| -
|
| -WebLayer* WebScrollbarLayerImpl::layer()
|
| -{
|
| - return m_layer.get();
|
| -}
|
| -
|
| -void WebScrollbarLayerImpl::setScrollLayer(WebLayer* layer)
|
| -{
|
| - int id = layer ? static_cast<WebLayerImpl*>(layer)->layer()->id() : 0;
|
| - static_cast<ScrollbarLayerChromium*>(m_layer->layer())->setScrollLayerId(id);
|
| -}
|
| -
|
| -
|
| -
|
| -} // namespace WebKit
|
|
|