Index: Source/core/svg/SVGGraphicsElement.cpp |
diff --git a/Source/core/svg/SVGGraphicsElement.cpp b/Source/core/svg/SVGGraphicsElement.cpp |
index 42dcf67405c4587edff3a70c38320d8197b6ff3d..e68f8b220a5693ff0b4db32a1cd613bc4efcc2f9 100644 |
--- a/Source/core/svg/SVGGraphicsElement.cpp |
+++ b/Source/core/svg/SVGGraphicsElement.cpp |
@@ -26,7 +26,6 @@ |
#include "core/SVGNames.h" |
#include "core/css/resolver/StyleResolver.h" |
#include "core/rendering/svg/RenderSVGPath.h" |
-#include "core/rendering/svg/RenderSVGResource.h" |
#include "core/rendering/svg/SVGPathData.h" |
#include "core/svg/SVGElementRareData.h" |
#include "platform/transforms/AffineTransform.h" |
@@ -203,13 +202,19 @@ void SVGGraphicsElement::svgAttributeChanged(const QualifiedName& attrName) |
if (attrName == SVGNames::transformAttr) { |
object->setNeedsTransformUpdate(); |
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(object); |
+ markForLayoutAndParentResourceInvalidation(object); |
return; |
} |
ASSERT_NOT_REACHED(); |
} |
+void SVGGraphicsElement::boundsChanged(RenderObject* renderer) |
+{ |
+ ASSERT(renderer); |
+ markForLayoutAndParentResourceInvalidation(renderer); |
+} |
+ |
SVGElement* SVGGraphicsElement::nearestViewportElement() const |
{ |
for (Element* current = parentOrShadowHostElement(); current; current = current->parentOrShadowHostElement()) { |