| Index: Source/core/platform/graphics/IntPoint.h
|
| diff --git a/Source/core/platform/graphics/IntPoint.h b/Source/core/platform/graphics/IntPoint.h
|
| index d230aa6f82761cd37e5fc4c4bda9228e775ac062..bb7c4e25eb3eb35426260efecd75916bec8c920d 100644
|
| --- a/Source/core/platform/graphics/IntPoint.h
|
| +++ b/Source/core/platform/graphics/IntPoint.h
|
| @@ -28,7 +28,6 @@
|
| #define IntPoint_h
|
|
|
| #include "core/platform/graphics/IntSize.h"
|
| -#include "wtf/MathExtras.h"
|
| #include "wtf/Platform.h"
|
|
|
| #if OS(DARWIN)
|
| @@ -59,12 +58,8 @@ public:
|
| void move(const IntSize& s) { move(s.width(), s.height()); }
|
| void moveBy(const IntPoint& offset) { move(offset.x(), offset.y()); }
|
| void move(int dx, int dy) { m_x += dx; m_y += dy; }
|
| - void scale(float sx, float sy)
|
| - {
|
| - m_x = lroundf(static_cast<float>(m_x * sx));
|
| - m_y = lroundf(static_cast<float>(m_y * sy));
|
| - }
|
| -
|
| + void scale(float sx, float sy);
|
| +
|
| IntPoint expandedTo(const IntPoint& other) const
|
| {
|
| return IntPoint(m_x > other.m_x ? m_x : other.m_x,
|
|
|