Index: third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp |
index 770793580dc537088910a76b803b4a9a945d06dc..51032713c354a0fc6e7e355e7d01a5c4a02c6c5f 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp |
@@ -35,15 +35,12 @@ inline SVGAnimateTransformElement::SVGAnimateTransformElement( |
DEFINE_NODE_FACTORY(SVGAnimateTransformElement) |
-bool SVGAnimateTransformElement::hasValidAttributeType() { |
- SVGElement* targetElement = this->targetElement(); |
- if (!targetElement) |
+bool SVGAnimateTransformElement::hasValidTarget() { |
+ if (!SVGAnimateElement::hasValidTarget()) |
return false; |
- |
if (getAttributeType() == AttributeTypeCSS) |
return false; |
- |
- return animatedPropertyType() == AnimatedTransformList; |
+ return m_type == AnimatedTransformList; |
} |
void SVGAnimateTransformElement::resolveTargetProperty() { |