Index: Source/WebCore/rendering/svg/RenderSVGContainer.cpp |
=================================================================== |
--- Source/WebCore/rendering/svg/RenderSVGContainer.cpp (revision 119626) |
+++ Source/WebCore/rendering/svg/RenderSVGContainer.cpp (working copy) |
@@ -87,6 +87,19 @@ |
setNeedsLayout(false); |
} |
+void RenderSVGContainer::addChild(RenderObject* child, RenderObject* beforeChild) |
+{ |
+ RenderSVGModelObject::addChild(child, beforeChild); |
+ SVGResourcesCache::clientWasAddedToTree(child, child->style()); |
+} |
+ |
+void RenderSVGContainer::removeChild(RenderObject* child) |
+{ |
+ SVGResourcesCache::clientWillBeRemovedFromTree(child); |
+ RenderSVGModelObject::removeChild(child); |
+} |
+ |
+ |
bool RenderSVGContainer::selfWillPaint() |
{ |
SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this); |