| Index: Source/core/svg/SVGAnimateMotionElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| index 23ede7ddd4f87aedf666c735aa2088d1fa93a5e2..e00cf119d43661e4c74fd9b634ca375fc9c12979 100644
|
| --- a/Source/core/svg/SVGAnimateMotionElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| @@ -29,6 +29,7 @@
|
| #include "core/rendering/svg/RenderSVGResource.h"
|
| #include "core/rendering/svg/SVGPathData.h"
|
| #include "core/svg/SVGElementInstance.h"
|
| +#include "core/svg/SVGImageElement.h"
|
| #include "core/svg/SVGMPathElement.h"
|
| #include "core/svg/SVGParserUtilities.h"
|
| #include "core/svg/SVGPathElement.h"
|
| @@ -68,7 +69,7 @@ bool SVGAnimateMotionElement::hasValidAttributeType()
|
| if (targetElement->hasTagName(gTag)
|
| || targetElement->hasTagName(defsTag)
|
| || targetElement->hasTagName(useTag)
|
| - || targetElement->hasTagName(SVGNames::imageTag)
|
| + || isSVGImageElement(targetElement)
|
| || targetElement->hasTagName(switchTag)
|
| || targetElement->hasTagName(pathTag)
|
| || targetElement->hasTagName(rectTag)
|
|
|