Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathBlender.cpp

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPath.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698