| 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();
|
| }
|
|
|