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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.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/LayoutSVGShape.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
index a07b52811d317988a2233c27b668a701c60e7f54..97ca82c6c64343e01cc3a24ed2ee8df1d20ea80e 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
@@ -85,7 +85,8 @@ FloatRect LayoutSVGShape::hitTestStrokeBoundingBox() const {
if (style()->svgStyle().hasStroke())
return m_strokeBoundingBox;
- // Implementation of http://dev.w3.org/fxtf/css-masking-1/#compute-stroke-bounding-box
+ // Implementation of
+ // http://dev.w3.org/fxtf/css-masking-1/#compute-stroke-bounding-box
// for the <rect> / <ellipse> / <circle> case except that we ignore whether
// the stroke is none.
@@ -214,7 +215,8 @@ Path* LayoutSVGShape::nonScalingStrokePath(
AffineTransform LayoutSVGShape::nonScalingStrokeTransform() const {
AffineTransform t = toSVGGraphicsElement(element())->getScreenCTM(
SVGGraphicsElement::DisallowStyleUpdate);
- // Width of non-scaling stroke is independent of translation, so zero it out here.
+ // Width of non-scaling stroke is independent of translation, so zero it out
+ // here.
t.setE(0);
t.setF(0);
return t;

Powered by Google App Engine
This is Rietveld 408576698