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

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatRect.h

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/FloatRect.h
diff --git a/third_party/WebKit/Source/platform/geometry/FloatRect.h b/third_party/WebKit/Source/platform/geometry/FloatRect.h
index 5c571df29f4024241c7c4785c7e1a5db16f3db95..d95058648ec65d9cf0ba2e108b094947c8fd7d9a 100644
--- a/third_party/WebKit/Source/platform/geometry/FloatRect.h
+++ b/third_party/WebKit/Source/platform/geometry/FloatRect.h
@@ -159,8 +159,9 @@ class PLATFORM_EXPORT FloatRect {
void uniteIfNonZero(const FloatRect&);
void extend(const FloatPoint&);
- // Note, this doesn't match what IntRect::contains(IntPoint&) does; the int version
- // is really checking for containment of 1x1 rect, but that doesn't make sense with floats.
+ // Note, this doesn't match what IntRect::contains(IntPoint&) does; the int
+ // version is really checking for containment of 1x1 rect, but that doesn't
+ // make sense with floats.
bool contains(float px, float py) const {
return px >= x() && px <= maxX() && py >= y() && py <= maxY();
}

Powered by Google App Engine
This is Rietveld 408576698