| Index: webkit/compositor/WebSolidColorLayerImpl.cpp
|
| diff --git a/webkit/compositor/WebSolidColorLayerImpl.cpp b/webkit/compositor/WebSolidColorLayerImpl.cpp
|
| deleted file mode 100644
|
| index ff4cf4ecaf159697849a837d7b4172c281715d0d..0000000000000000000000000000000000000000
|
| --- a/webkit/compositor/WebSolidColorLayerImpl.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 "WebSolidColorLayerImpl.h"
|
| -
|
| -#include "SolidColorLayerChromium.h"
|
| -#include "WebLayerImpl.h"
|
| -
|
| -using WebCore::SolidColorLayerChromium;
|
| -
|
| -namespace WebKit {
|
| -
|
| -WebSolidColorLayer* WebSolidColorLayer::create()
|
| -{
|
| - return new WebSolidColorLayerImpl();
|
| -}
|
| -
|
| -WebSolidColorLayerImpl::WebSolidColorLayerImpl()
|
| - : m_layer(adoptPtr(new WebLayerImpl(SolidColorLayerChromium::create())))
|
| -{
|
| - m_layer->layer()->setIsDrawable(true);
|
| -}
|
| -
|
| -WebSolidColorLayerImpl::~WebSolidColorLayerImpl()
|
| -{
|
| -}
|
| -
|
| -WebLayer* WebSolidColorLayerImpl::layer()
|
| -{
|
| - return m_layer.get();
|
| -}
|
| -
|
| -void WebSolidColorLayerImpl::setBackgroundColor(WebColor color)
|
| -{
|
| - m_layer->setBackgroundColor(color);
|
| -}
|
| -
|
| -} // namespace WebKit
|
| -
|
|
|