Chromium Code Reviews| Index: Source/core/svg/SVGGeometryElement.cpp |
| diff --git a/Source/core/svg/SVGGeometryElement.cpp b/Source/core/svg/SVGGeometryElement.cpp |
| index 6fd2971a701dbb975fb4f2661747a5aeec39b40c..b9f6fde00546ad6b69f596229966d3ae3d09d5b0 100644 |
| --- a/Source/core/svg/SVGGeometryElement.cpp |
| +++ b/Source/core/svg/SVGGeometryElement.cpp |
| @@ -45,6 +45,20 @@ SVGGeometryElement::SVGGeometryElement(const QualifiedName& tagName, Document& d |
| { |
| } |
| +void SVGGeometryElement::svgAttributeChanged(const QualifiedName& attrName) |
| +{ |
| + if (attrName == SVGNames::vector_effectAttr) { |
|
fs
2015/06/01 09:09:19
Isn't this a presentation attribute?
|
| + if (LayoutObject* object = layoutObject()) { |
| + SVGElement::InvalidationGuard invalidationGuard(this); |
| + toLayoutSVGShape(layoutObject())->setNeedsShapeUpdate(); |
| + markForLayoutAndParentResourceInvalidation(object); |
| + } |
| + return; |
| + } |
| + |
| + SVGGraphicsElement::svgAttributeChanged(attrName); |
| +} |
| + |
| bool SVGGeometryElement::isPointInFill(PassRefPtrWillBeRawPtr<SVGPointTearOff> point) const |
| { |
| document().updateLayoutIgnorePendingStylesheets(); |