| Index: Source/core/platform/graphics/FloatPoint.h
|
| diff --git a/Source/core/platform/graphics/FloatPoint.h b/Source/core/platform/graphics/FloatPoint.h
|
| index 1574deb38fef6e833545818bfc62bdd2ebbc7435..8b399c2bea25fee9fcbc1b816b9ae81e714a6ffb 100644
|
| --- a/Source/core/platform/graphics/FloatPoint.h
|
| +++ b/Source/core/platform/graphics/FloatPoint.h
|
| @@ -29,7 +29,6 @@
|
|
|
| #include "core/platform/graphics/FloatSize.h"
|
| #include "core/platform/graphics/IntPoint.h"
|
| -#include "wtf/MathExtras.h"
|
|
|
| #if OS(DARWIN)
|
| typedef struct CGPoint CGPoint;
|
| @@ -209,10 +208,7 @@ inline float operator*(const FloatPoint& a, const FloatPoint& b)
|
| return a.dot(b);
|
| }
|
|
|
| -inline IntPoint roundedIntPoint(const FloatPoint& p)
|
| -{
|
| - return IntPoint(clampToInteger(roundf(p.x())), clampToInteger(roundf(p.y())));
|
| -}
|
| +IntPoint roundedIntPoint(const FloatPoint&);
|
|
|
| inline IntPoint flooredIntPoint(const FloatPoint& p)
|
| {
|
|
|