| Index: third_party/WebKit/Source/core/svg/SVGPathBlender.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPathBlender.cpp b/third_party/WebKit/Source/core/svg/SVGPathBlender.cpp
|
| index 75ab3f930cf204152ee67d3496bf50429743971c..4d883304aa218ddb23c92981f54aa9c8f6dc6abc 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPathBlender.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPathBlender.cpp
|
| @@ -92,11 +92,13 @@ float SVGPathBlender::BlendState::blendAnimatedDimensonalFloat(
|
| float animValue =
|
| blend(from, m_fromIsAbsolute ? to + toValue : to - toValue, m_progress);
|
|
|
| - // If we're in the first half of the animation, we should use the type of the from segment.
|
| + // If we're in the first half of the animation, we should use the type of the
|
| + // from segment.
|
| if (m_isInFirstHalfOfAnimation)
|
| return animValue;
|
|
|
| - // Transform the animated point to the coordinate mode, needed for the current progress.
|
| + // Transform the animated point to the coordinate mode, needed for the current
|
| + // progress.
|
| float currentValue = blend(fromValue, toValue, m_progress);
|
| return !m_fromIsAbsolute ? animValue + currentValue
|
| : animValue - currentValue;
|
| @@ -128,11 +130,13 @@ FloatPoint SVGPathBlender::BlendState::blendAnimatedFloatPoint(
|
|
|
| animatedPoint = blendFloatPoint(fromPoint, animatedPoint, m_progress);
|
|
|
| - // If we're in the first half of the animation, we should use the type of the from segment.
|
| + // If we're in the first half of the animation, we should use the type of the
|
| + // from segment.
|
| if (m_isInFirstHalfOfAnimation)
|
| return animatedPoint;
|
|
|
| - // Transform the animated point to the coordinate mode, needed for the current progress.
|
| + // Transform the animated point to the coordinate mode, needed for the current
|
| + // progress.
|
| FloatPoint currentPoint =
|
| blendFloatPoint(m_fromCurrentPoint, m_toCurrentPoint, m_progress);
|
| if (!m_fromIsAbsolute)
|
|
|