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

Unified Diff: third_party/WebKit/Source/platform/geometry/Region.cpp

Issue 2392543003: reflow comments in platform/geometry (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/platform/geometry/Region.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/Region.cpp b/third_party/WebKit/Source/platform/geometry/Region.cpp
index d99500f36573dd35e298037ef24a05d5c7cef3ae..531bd12eea4c86ab281dc9e455f18e50f274e568 100644
--- a/third_party/WebKit/Source/platform/geometry/Region.cpp
+++ b/third_party/WebKit/Source/platform/geometry/Region.cpp
@@ -131,7 +131,8 @@ bool Region::Shape::compareShapes(const Shape& aShape, const Shape& bShape) {
Shape::SegmentIterator bSegment = bShape.segmentsBegin(bSpan);
Shape::SegmentIterator bSegmentEnd = bShape.segmentsEnd(bSpan);
- // Look for a non-overlapping part of the spans. If B had a segment in its previous span, then we already tested A against B within that span.
+ // Look for a non-overlapping part of the spans. If B had a segment in its
+ // previous span, then we already tested A against B within that span.
bool aHasSegmentInSpan = aSegment != aSegmentEnd;
bool bHasSegmentInSpan = bSegment != bSegmentEnd;
if (aY < bY && !bHadSegmentInPreviousSpan && aHasSegmentInSpan &&
@@ -450,7 +451,8 @@ Region::Shape Region::Shape::shapeOperation(const Shape& shape1,
segments.resize(0);
ASSERT(segments.capacity());
- // Now iterate over the segments in each span and construct a new vector of segments.
+ // Now iterate over the segments in each span and construct a new vector of
+ // segments.
while (s1 != segments1End && s2 != segments2End) {
int test = *s1 - *s2;
int x;
@@ -592,7 +594,8 @@ void Region::unite(const Region& region) {
m_bounds = region.m_bounds;
return;
}
- // FIXME: We may want another way to construct a Region without doing this test when we expect it to be false.
+ // FIXME: We may want another way to construct a Region without doing this
+ // test when we expect it to be false.
if (!isRect() && contains(region))
return;
« no previous file with comments | « third_party/WebKit/Source/platform/geometry/LayoutRect.h ('k') | third_party/WebKit/Source/platform/geometry/RegionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698