Chromium Code Reviews| 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 65819e6cd0d889ba7cbd1650c88f56ddcebaa910..b7fd7288b85b7d3c577a5fbd0a09ffd4d1856fe6 100644 |
| --- a/third_party/WebKit/Source/platform/geometry/FloatRect.h |
| +++ b/third_party/WebKit/Source/platform/geometry/FloatRect.h |
| @@ -169,6 +169,8 @@ public: |
| FloatRect transposedRect() const { return FloatRect(m_location.transposedPoint(), m_size.transposedSize()); } |
| + float distanceTo(const FloatPoint&); |
|
fs
2016/01/13 10:22:03
const
|
| + |
| #if OS(MACOSX) |
| FloatRect(const CGRect&); |
| operator CGRect() const; |