Index: third_party/WebKit/Source/core/svg/SVGFELightElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFELightElement.cpp b/third_party/WebKit/Source/core/svg/SVGFELightElement.cpp |
index 6a1de14d42e99f5a1a5deb3f87bac2d3972228d5..26333350f0472d0717c077653e49785af727ab27 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFELightElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFELightElement.cpp |
@@ -105,16 +105,12 @@ void SVGFELightElement::svgAttributeChanged(const QualifiedName& attrName) |
return; |
SVGElement::InvalidationGuard invalidationGuard(this); |
- if (isSVGFEDiffuseLightingElement(*parent)) { |
+ if (isSVGFEDiffuseLightingElement(*parent)) |
toSVGFEDiffuseLightingElement(*parent).lightElementAttributeChanged(this, attrName); |
- return; |
- } |
- if (isSVGFESpecularLightingElement(*parent)) { |
+ else if (isSVGFESpecularLightingElement(*parent)) |
toSVGFESpecularLightingElement(*parent).lightElementAttributeChanged(this, attrName); |
- return; |
- } |
- ASSERT_NOT_REACHED(); |
+ return; |
} |
SVGElement::svgAttributeChanged(attrName); |