summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/SVGResourcesCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/SVGResourcesCache.cpp')
-rw-r--r--WebCore/rendering/SVGResourcesCache.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/rendering/SVGResourcesCache.cpp b/WebCore/rendering/SVGResourcesCache.cpp
index a4089d6..88cbb3a 100644
--- a/WebCore/rendering/SVGResourcesCache.cpp
+++ b/WebCore/rendering/SVGResourcesCache.cpp
@@ -34,11 +34,7 @@ SVGResourcesCache::SVGResourcesCache()
SVGResourcesCache::~SVGResourcesCache()
{
- if (m_cache.isEmpty())
- return;
-
deleteAllValues(m_cache);
- m_cache.clear();
}
void SVGResourcesCache::addResourcesFromRenderObject(RenderObject* object, const RenderStyle* style)