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