Index: cc/IOSurfaceLayerChromium.cpp |
diff --git a/cc/IOSurfaceLayerChromium.cpp b/cc/IOSurfaceLayerChromium.cpp |
deleted file mode 100644 |
index fe6d39a38da86b23180490756794cd1406069d8d..0000000000000000000000000000000000000000 |
--- a/cc/IOSurfaceLayerChromium.cpp |
+++ /dev/null |
@@ -1,56 +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" |
- |
-#if USE(ACCELERATED_COMPOSITING) |
- |
-#include "IOSurfaceLayerChromium.h" |
- |
-#include "CCIOSurfaceLayerImpl.h" |
- |
-namespace cc { |
- |
-scoped_refptr<IOSurfaceLayerChromium> IOSurfaceLayerChromium::create() |
-{ |
- return make_scoped_refptr(new IOSurfaceLayerChromium()); |
-} |
- |
-IOSurfaceLayerChromium::IOSurfaceLayerChromium() |
- : LayerChromium() |
- , m_ioSurfaceId(0) |
-{ |
-} |
- |
-IOSurfaceLayerChromium::~IOSurfaceLayerChromium() |
-{ |
-} |
- |
-void IOSurfaceLayerChromium::setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize& size) |
-{ |
- m_ioSurfaceId = ioSurfaceId; |
- m_ioSurfaceSize = size; |
- setNeedsCommit(); |
-} |
- |
-scoped_ptr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl() |
-{ |
- return CCIOSurfaceLayerImpl::create(m_layerId).PassAs<CCLayerImpl>(); |
-} |
- |
-bool IOSurfaceLayerChromium::drawsContent() const |
-{ |
- return m_ioSurfaceId && LayerChromium::drawsContent(); |
-} |
- |
-void IOSurfaceLayerChromium::pushPropertiesTo(CCLayerImpl* layer) |
-{ |
- LayerChromium::pushPropertiesTo(layer); |
- |
- CCIOSurfaceLayerImpl* textureLayer = static_cast<CCIOSurfaceLayerImpl*>(layer); |
- textureLayer->setIOSurfaceProperties(m_ioSurfaceId, m_ioSurfaceSize); |
-} |
- |
-} |
-#endif // USE(ACCELERATED_COMPOSITING) |