Index: ui/gfx/rect_f.h |
diff --git a/ui/gfx/rect_f.h b/ui/gfx/rect_f.h |
index f3e1ebfb45aacf36bb5de1acc545c3e40604c620..39325e8da95f6a497f36e5f10a2fea5fa53c7f24 100644 |
--- a/ui/gfx/rect_f.h |
+++ b/ui/gfx/rect_f.h |
@@ -55,6 +55,9 @@ inline bool operator!=(const RectF& lhs, const RectF& rhs) { |
return !(lhs == rhs); |
} |
+UI_EXPORT RectF operator+(const RectF& lhs, const Vector2dF& rhs); |
+UI_EXPORT RectF operator-(const RectF& lhs, const Vector2dF& rhs); |
+ |
UI_EXPORT RectF IntersectRects(const RectF& a, const RectF& b); |
UI_EXPORT RectF UnionRects(const RectF& a, const RectF& b); |
UI_EXPORT RectF SubtractRects(const RectF& a, const RectF& b); |