Index: Source/WebCore/rendering/svg/RenderSVGRoot.cpp |
=================================================================== |
--- Source/WebCore/rendering/svg/RenderSVGRoot.cpp (revision 119626) |
+++ Source/WebCore/rendering/svg/RenderSVGRoot.cpp (working copy) |
@@ -326,12 +326,18 @@ |
SVGResourcesCache::clientStyleChanged(this, diff, style()); |
} |
-void RenderSVGRoot::updateFromElement() |
+void RenderSVGRoot::addChild(RenderObject* child, RenderObject* beforeChild) |
{ |
- RenderReplaced::updateFromElement(); |
- SVGResourcesCache::clientUpdatedFromElement(this, style()); |
+ RenderReplaced::addChild(child, beforeChild); |
+ SVGResourcesCache::clientWasAddedToTree(child, child->style()); |
} |
+void RenderSVGRoot::removeChild(RenderObject* child) |
+{ |
+ SVGResourcesCache::clientWillBeRemovedFromTree(child); |
+ RenderReplaced::removeChild(child); |
+} |
+ |
// RenderBox methods will expect coordinates w/o any transforms in coordinates |
// relative to our borderBox origin. This method gives us exactly that. |
void RenderSVGRoot::buildLocalToBorderBoxTransform() |