| Index: Source/core/svg/SVGAnimateMotionElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| index 9c76b316404718f5dffa21750475903566d5ce6c..fd9012309ad207d2cc2c42c7ce071726c9b37e70 100644
|
| --- a/Source/core/svg/SVGAnimateMotionElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| @@ -277,11 +277,10 @@ void SVGAnimateMotionElement::calculateAnimatedValue(float percentage, unsigned
|
|
|
| ASSERT(!m_animationPath.isEmpty());
|
|
|
| - bool ok = false;
|
| float positionOnPath = m_animationPath.length() * percentage;
|
| FloatPoint position;
|
| float angle;
|
| - ok = m_animationPath.pointAndNormalAtLength(positionOnPath, position, angle);
|
| + bool ok = m_animationPath.pointAndNormalAtLength(positionOnPath, position, angle);
|
| if (!ok)
|
| return;
|
|
|
|
|