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..f404ae91f8110fa442ad603527d6e7029e531367 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&) const; |
+ |
#if OS(MACOSX) |
FloatRect(const CGRect&); |
operator CGRect() const; |