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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp

Issue 2400783002: Reformat comments in core/layout/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/layout/svg/LayoutSVGGradientStop.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp
index 8c1289e4f3b3eba5564f870996c64000234056d5..5ddab52789d8de0be40ab079705c8450568e11b2 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp
@@ -36,8 +36,9 @@ void LayoutSVGGradientStop::styleDidChange(StyleDifference diff,
if (!diff.hasDifference())
return;
- // <stop> elements should only be allowed to make layoutObjects under gradient elements
- // but I can imagine a few cases we might not be catching, so let's not crash if our parent isn't a gradient.
+ // <stop> elements should only be allowed to make layoutObjects under gradient
+ // elements but I can imagine a few cases we might not be catching, so let's
+ // not crash if our parent isn't a gradient.
SVGGradientElement* gradient = gradientElement();
if (!gradient)
return;

Powered by Google App Engine
This is Rietveld 408576698