summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/chromium/LayerChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/chromium/LayerChromium.cpp')
-rw-r--r--Source/WebCore/platform/graphics/chromium/LayerChromium.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/WebCore/platform/graphics/chromium/LayerChromium.cpp b/Source/WebCore/platform/graphics/chromium/LayerChromium.cpp
index b2f70141b..8d0fe03b6 100644
--- a/Source/WebCore/platform/graphics/chromium/LayerChromium.cpp
+++ b/Source/WebCore/platform/graphics/chromium/LayerChromium.cpp
@@ -92,10 +92,6 @@ LayerChromium::~LayerChromium()
removeAllChildren();
}
-void LayerChromium::cleanupResources()
-{
-}
-
void LayerChromium::setIsNonCompositedContent(bool isNonCompositedContent)
{
m_isNonCompositedContent = isNonCompositedContent;
@@ -106,11 +102,6 @@ void LayerChromium::setLayerTreeHost(CCLayerTreeHost* host)
if (m_layerTreeHost == host)
return;
- // If we're changing hosts then we need to free up any resources
- // allocated by the old host.
- if (m_layerTreeHost)
- cleanupResources();
-
m_layerTreeHost = host;
for (size_t i = 0; i < m_children.size(); ++i)