| Index: Source/platform/geometry/DoublePoint.h
|
| diff --git a/Source/platform/geometry/DoublePoint.h b/Source/platform/geometry/DoublePoint.h
|
| index f7f79736d38a153ced68640a76b04f31f3c4b15d..d300294c70fb28eb2d1284cf1e60b5be778d9b85 100644
|
| --- a/Source/platform/geometry/DoublePoint.h
|
| +++ b/Source/platform/geometry/DoublePoint.h
|
| @@ -83,7 +83,7 @@ inline DoublePoint operator-(const DoublePoint& a)
|
|
|
| inline IntPoint flooredIntPoint(const DoublePoint& p)
|
| {
|
| - return IntPoint(clampToInteger(floor(p.x())), clampToInteger(floor(p.y())));
|
| + return IntPoint(clampTo<int>(floor(p.x())), clampTo<int>(floor(p.y())));
|
| }
|
|
|
| inline FloatPoint toFloatPoint(const DoublePoint& a)
|
|
|