| Index: Source/core/svg/SVGAnimateMotionElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| index fd9012309ad207d2cc2c42c7ce071726c9b37e70..3dece5644f0e72e2e3c5e5a37452d6eea1f34966 100644
|
| --- a/Source/core/svg/SVGAnimateMotionElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| @@ -140,7 +140,7 @@ void SVGAnimateMotionElement::updateAnimationPath()
|
| m_animationPath = Path();
|
| bool foundMPath = false;
|
|
|
| - for (Node* child = firstChild(); child; child = child->nextSibling()) {
|
| + for (Element* child = ElementTraversal::firstWithin(*this); child; child = ElementTraversal::nextSibling(*child)) {
|
| if (child->hasTagName(SVGNames::mpathTag)) {
|
| SVGMPathElement* mPath = toSVGMPathElement(child);
|
| SVGPathElement* pathElement = mPath->pathElement();
|
|
|