diff options
Diffstat (limited to 'views/controls/button/checkbox.cc')
-rw-r--r-- | views/controls/button/checkbox.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/views/controls/button/checkbox.cc b/views/controls/button/checkbox.cc index b60e802..da2b04c 100644 --- a/views/controls/button/checkbox.cc +++ b/views/controls/button/checkbox.cc @@ -66,8 +66,7 @@ void Checkbox::OnPaintFocusBorder(gfx::Canvas* canvas) { // Increate the bounding box by one on each side so that that focus border // does not draw on top of the letters. bounds.Inset(-1, -1, -1, -1); - canvas->DrawFocusRect(bounds.x(), bounds.y(), bounds.width(), - bounds.height()); + canvas->DrawFocusRect(bounds); } } |