| Index: Source/WebCore/rendering/svg/SVGResourcesCache.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/svg/SVGResourcesCache.cpp (revision 100710)
|
| +++ Source/WebCore/rendering/svg/SVGResourcesCache.cpp (working copy)
|
| @@ -155,6 +155,11 @@
|
| void SVGResourcesCache::clientDestroyed(RenderObject* renderer)
|
| {
|
| ASSERT(renderer);
|
| +
|
| + SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(renderer);
|
| + if (resources)
|
| + resources->removeClientFromCache(renderer);
|
| +
|
| SVGResourcesCache* cache = resourcesCacheFromRenderObject(renderer);
|
| cache->removeResourcesFromRenderObject(renderer);
|
| }
|
|
|