| Index: ui/gfx/rect.h
|
| diff --git a/ui/gfx/rect.h b/ui/gfx/rect.h
|
| index 5479d2e2b0319de060fd0d0d73067c9e01bf225e..076f9fc08f525d67b7a8fe75dad2cf9507160d9b 100644
|
| --- a/ui/gfx/rect.h
|
| +++ b/ui/gfx/rect.h
|
| @@ -77,6 +77,13 @@ inline bool operator!=(const Rect& lhs, const Rect& rhs) {
|
| return !(lhs == rhs);
|
| }
|
|
|
| +UI_EXPORT Rect operator+(const Rect& lhs, const Vector2d& rhs);
|
| +UI_EXPORT Rect operator-(const Rect& lhs, const Vector2d& rhs);
|
| +
|
| +inline Rect operator+(const Vector2d& lhs, const Rect& rhs) {
|
| + return rhs + lhs;
|
| +}
|
| +
|
| UI_EXPORT Rect IntersectRects(const Rect& a, const Rect& b);
|
| UI_EXPORT Rect UnionRects(const Rect& a, const Rect& b);
|
| UI_EXPORT Rect SubtractRects(const Rect& a, const Rect& b);
|
|
|