Index: Source/WebCore/rendering/svg/RenderSVGText.cpp |
=================================================================== |
--- Source/WebCore/rendering/svg/RenderSVGText.cpp (revision 119626) |
+++ Source/WebCore/rendering/svg/RenderSVGText.cpp (working copy) |
@@ -518,11 +518,15 @@ |
void RenderSVGText::addChild(RenderObject* child, RenderObject* beforeChild) |
{ |
RenderSVGBlock::addChild(child, beforeChild); |
+ |
+ SVGResourcesCache::clientWasAddedToTree(child, child->style()); |
subtreeChildWasAdded(child); |
} |
void RenderSVGText::removeChild(RenderObject* child) |
{ |
+ SVGResourcesCache::clientWillBeRemovedFromTree(child); |
+ |
Vector<SVGTextLayoutAttributes*, 2> affectedAttributes; |
subtreeChildWillBeRemoved(child, affectedAttributes); |
RenderSVGBlock::removeChild(child); |