Index: Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp |
=================================================================== |
--- Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp (revision 112624) |
+++ Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp (working copy) |
@@ -22,7 +22,7 @@ |
#if ENABLE(SVG) |
#include "RenderSVGResourceContainer.h" |
-#include "RenderSVGShadowTreeRootContainer.h" |
+#include "RenderSVGRoot.h" |
#include "RenderView.h" |
#include "SVGResourcesCache.h" |
#include "SVGStyledTransformableElement.h" |
@@ -54,7 +54,7 @@ |
{ |
// Invalidate all resources if our layout changed. |
if (everHadLayout() && selfNeedsLayout()) |
- removeAllClientsFromCache(); |
+ RenderSVGRoot::addResourceForClientInvalidation(this); |
RenderSVGHiddenContainer::layout(); |
} |