| Index: third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| diff --git a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| index 9f178095610d52ec9747d6b22934fc0512dbf388..412dec3b6c8ba1ed3acb07db146aac49fe1941fd 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| +++ b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| @@ -110,6 +110,11 @@ inline LayoutPoint& operator+=(LayoutPoint& a, const IntSize& b) {
|
| return a;
|
| }
|
|
|
| +ALWAYS_INLINE LayoutPoint& operator-=(LayoutPoint& a, const LayoutPoint& b) {
|
| + a.move(-b.x(), -b.y());
|
| + return a;
|
| +}
|
| +
|
| ALWAYS_INLINE LayoutPoint& operator-=(LayoutPoint& a, const LayoutSize& b) {
|
| a.move(-b.width(), -b.height());
|
| return a;
|
|
|