Index: Source/WebCore/rendering/svg/RenderSVGInline.cpp |
=================================================================== |
--- Source/WebCore/rendering/svg/RenderSVGInline.cpp (revision 119626) |
+++ Source/WebCore/rendering/svg/RenderSVGInline.cpp (working copy) |
@@ -114,21 +114,19 @@ |
SVGResourcesCache::clientStyleChanged(this, diff, style()); |
} |
-void RenderSVGInline::updateFromElement() |
-{ |
- RenderInline::updateFromElement(); |
- SVGResourcesCache::clientUpdatedFromElement(this, style()); |
-} |
- |
void RenderSVGInline::addChild(RenderObject* child, RenderObject* beforeChild) |
{ |
RenderInline::addChild(child, beforeChild); |
+ SVGResourcesCache::clientWasAddedToTree(child, child->style()); |
+ |
if (RenderSVGText* textRenderer = RenderSVGText::locateRenderSVGTextAncestor(this)) |
textRenderer->subtreeChildWasAdded(child); |
} |
void RenderSVGInline::removeChild(RenderObject* child) |
{ |
+ SVGResourcesCache::clientWillBeRemovedFromTree(child); |
+ |
RenderSVGText* textRenderer = RenderSVGText::locateRenderSVGTextAncestor(this); |
if (!textRenderer) { |
RenderInline::removeChild(child); |