| Index: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| index 089185dbd7dcdb72a9f054c1b1cd01a3468c19ae..b080c1423156364ce9c49136e32adb8a44bf4248 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| @@ -357,30 +357,6 @@ bool SVGAnimationElement::isTargetAttributeCSSProperty(
|
| targetElement->isPresentationAttribute(attributeName);
|
| }
|
|
|
| -SVGAnimationElement::ShouldApplyAnimationType
|
| -SVGAnimationElement::shouldApplyAnimation(SVGElement* targetElement,
|
| - const QualifiedName& attributeName) {
|
| - if (!hasValidAttributeType() || attributeName == anyQName() ||
|
| - !targetElement || !targetElement->inActiveDocument() ||
|
| - !targetElement->parentNode())
|
| - return DontApplyAnimation;
|
| -
|
| - // Always animate CSS properties using the ApplyCSSAnimation code path,
|
| - // regardless of the attributeType value.
|
| - if (isTargetAttributeCSSProperty(targetElement, attributeName)) {
|
| - if (targetElement->isPresentationAttributeWithSVGDOM(attributeName))
|
| - return ApplyXMLandCSSAnimation;
|
| -
|
| - return ApplyCSSAnimation;
|
| - }
|
| - // If attributeType="CSS" and attributeName doesn't point to a CSS property,
|
| - // ignore the animation.
|
| - if (getAttributeType() == AttributeTypeCSS)
|
| - return DontApplyAnimation;
|
| -
|
| - return ApplyXMLAnimation;
|
| -}
|
| -
|
| void SVGAnimationElement::calculateKeyTimesForCalcModePaced() {
|
| ASSERT(getCalcMode() == CalcModePaced);
|
| ASSERT(getAnimationMode() == ValuesAnimation);
|
|
|