| Index: Source/platform/geometry/FloatRect.h
|
| diff --git a/Source/platform/geometry/FloatRect.h b/Source/platform/geometry/FloatRect.h
|
| index 5e6d5e962916889afbfd634ec0f29054b608672e..310faad91b506eff5055b33793996cba8025a43d 100644
|
| --- a/Source/platform/geometry/FloatRect.h
|
| +++ b/Source/platform/geometry/FloatRect.h
|
| @@ -163,6 +163,7 @@ public:
|
| void inflate(float d) { inflateX(d); inflateY(d); }
|
| void scale(float s) { scale(s, s); }
|
| void scale(float sx, float sy);
|
| + float distanceFromPoint(const FloatPoint&);
|
|
|
| FloatRect transposedRect() const { return FloatRect(m_location.transposedPoint(), m_size.transposedSize()); }
|
|
|
|
|