Index: ui/gfx/rect.cc |
=================================================================== |
--- ui/gfx/rect.cc (revision 74454) |
+++ ui/gfx/rect.cc (working copy) |
@@ -231,7 +231,7 @@ |
} |
Point Rect::CenterPoint() const { |
- return Point(x() + (width() + 1) / 2, y() + (height() + 1) / 2); |
+ return Point(x() + (width() - 1) / 2, y() + (height() - 1) / 2); |
} |
Rect Rect::Center(const gfx::Size& size) const { |