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

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

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: 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..484bcb6e6cc4e699681302a665cc19bdf61856fa 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 eg. 'auto').
pdr. 2016/10/04 21:05:30 Nit: maybe "(and not, for example, 'auto')."
Nico 2016/10/04 21:10:23 Done.
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);

Powered by Google App Engine
This is Rietveld 408576698