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

Unified Diff: third_party/WebKit/Source/core/layout/shapes/PolygonShape.cpp

Issue 2390413002: Reformat comments in core/layout/shapes (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/shapes/PolygonShape.cpp
diff --git a/third_party/WebKit/Source/core/layout/shapes/PolygonShape.cpp b/third_party/WebKit/Source/core/layout/shapes/PolygonShape.cpp
index aa069921e6bd51c074e7e431ff46bc75cb21e751..26dbd6b11cbd2a6404332a3018107217b002d662 100644
--- a/third_party/WebKit/Source/core/layout/shapes/PolygonShape.cpp
+++ b/third_party/WebKit/Source/core/layout/shapes/PolygonShape.cpp
@@ -109,8 +109,8 @@ static FloatShapeInterval clippedCircleXRange(const FloatPoint& center,
if (center.y() >= y1 && center.y() <= y2)
return FloatShapeInterval(center.x() - radius, center.x() + radius);
- // Clip the circle to the vertical range y1,y2 and return the extent of the clipped circle's
- // projection on the X axis
+ // Clip the circle to the vertical range y1,y2 and return the extent of the
+ // clipped circle's projection on the X axis
float xi = circleXIntercept((y2 < center.y() ? y2 : y1) - center.y(), radius);
return FloatShapeInterval(center.x() - xi, center.x() + xi);
« no previous file with comments | « third_party/WebKit/Source/core/layout/shapes/BoxShapeTest.cpp ('k') | third_party/WebKit/Source/core/layout/shapes/Shape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698