Index: Source/platform/geometry/DoubleSize.h |
diff --git a/Source/platform/geometry/DoubleSize.h b/Source/platform/geometry/DoubleSize.h |
index 2cc2b71b372ddd7707e24a72de8f525fd4b8bb23..52ee7a907e0f089058f458e896055350e2944f43 100644 |
--- a/Source/platform/geometry/DoubleSize.h |
+++ b/Source/platform/geometry/DoubleSize.h |
@@ -60,7 +60,7 @@ inline bool operator!=(const DoubleSize& a, const DoubleSize& b) |
inline IntSize flooredIntSize(const DoubleSize& p) |
{ |
- return IntSize(clampToInteger(floor(p.width())), clampToInteger(floor(p.height()))); |
+ return IntSize(clampTo<int>(floor(p.width())), clampTo<int>(floor(p.height()))); |
} |
inline FloatSize toFloatSize(const DoubleSize& p) |