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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAngle.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/SVGAngle.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAngle.cpp b/third_party/WebKit/Source/core/svg/SVGAngle.cpp
index 6ec5e403a1dd56cb5e5e4a94337d09bff3ad30b9..6608814b744f73e93bb33c73e0d2e6fd1370bd9f 100644
--- a/third_party/WebKit/Source/core/svg/SVGAngle.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAngle.cpp
@@ -334,7 +334,8 @@ void SVGAngle::convertToSpecifiedUnits(SVGAngleType unitType) {
}
break;
case kSvgAngletypeUnspecified:
- // Spec: For angles, a unitless value is treated the same as if degrees were specified.
+ // Spec: For angles, a unitless value is treated the same as if degrees were
+ // specified.
case kSvgAngletypeDeg:
switch (unitType) {
case kSvgAngletypeRad:
@@ -366,7 +367,8 @@ void SVGAngle::convertToSpecifiedUnits(SVGAngleType unitType) {
void SVGAngle::add(SVGPropertyBase* other, SVGElement*) {
SVGAngle* otherAngle = toSVGAngle(other);
- // Only respect by animations, if from and by are both specified in angles (and not eg. 'auto').
+ // Only respect by animations, if from and by are both specified in angles
+ // (and not, for example, 'auto').
if (orientType()->enumValue() != SVGMarkerOrientAngle ||
otherAngle->orientType()->enumValue() != SVGMarkerOrientAngle)
return;
@@ -410,7 +412,8 @@ void SVGAngle::calculateAnimatedValue(SVGAnimationElement* animationElement,
orientType()->setEnumValue(fromOrientType);
return;
- // Regular from angle to angle animation, with all features like additive etc.
+ // Regular from angle to angle animation, with all features like additive
+ // etc.
case SVGMarkerOrientAngle: {
float animatedValue = value();
SVGAngle* toAtEndOfDurationAngle = toSVGAngle(toAtEndOfDuration);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698