Chromium Code Reviews| Index: base/gfx/rect.h |
| =================================================================== |
| --- base/gfx/rect.h (revision 32494) |
| +++ base/gfx/rect.h (working copy) |
| @@ -65,6 +65,7 @@ |
| void set_origin(const gfx::Point& origin) { origin_ = origin; } |
| const gfx::Size& size() const { return size_; } |
| + void set_size(const gfx::Size& size) { size_ = size; } |
| int right() const { return x() + width(); } |
| int bottom() const { return y() + height(); } |