| Index: third_party/WebKit/Source/platform/geometry/IntPoint.h
|
| diff --git a/third_party/WebKit/Source/platform/geometry/IntPoint.h b/third_party/WebKit/Source/platform/geometry/IntPoint.h
|
| index ebee74187e6129f52567479d9cb071971bee816f..de060f259b737d25ea359016db790a2116f20558 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/IntPoint.h
|
| +++ b/third_party/WebKit/Source/platform/geometry/IntPoint.h
|
| @@ -27,11 +27,11 @@
|
| #ifndef IntPoint_h
|
| #define IntPoint_h
|
|
|
| +#include "base/numerics/saturated_arithmetic.h"
|
| #include "platform/geometry/IntSize.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/MathExtras.h"
|
| -#include "wtf/SaturatedArithmetic.h"
|
| #include "wtf/VectorTraits.h"
|
|
|
| #if OS(MACOSX)
|
| @@ -68,8 +68,8 @@ class PLATFORM_EXPORT IntPoint {
|
| m_y += dy;
|
| }
|
| void saturatedMove(int dx, int dy) {
|
| - m_x = saturatedAddition(m_x, dx);
|
| - m_y = saturatedAddition(m_y, dy);
|
| + m_x = base::SaturatedAddition(m_x, dx);
|
| + m_y = base::SaturatedAddition(m_y, dy);
|
| }
|
|
|
| void scale(float sx, float sy) {
|
|
|