Index: ui/views/controls/button/label_button.cc |
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc |
index 68a347286166806eacd855ee7b0db6dac6a7733d..e98010771c69a20de3789c23768aa333bbf66529 100644 |
--- a/ui/views/controls/button/label_button.cc |
+++ b/ui/views/controls/button/label_button.cc |
@@ -92,7 +92,6 @@ namespace views { |
// static |
const int LabelButton::kHoverAnimationDurationMs = 170; |
-const int LabelButton::kFocusRectInset = 3; |
const char LabelButton::kViewClassName[] = "LabelButton"; |
LabelButton::LabelButton(ButtonListener* listener, const base::string16& text) |
@@ -127,8 +126,7 @@ LabelButton::LabelButton(ButtonListener* listener, const base::string16& text) |
label_->SetHorizontalAlignment(gfx::ALIGN_TO_HEAD); |
// Inset the button focus rect from the actual border; roughly match Windows. |
- SetFocusPainter(Painter::CreateDashedFocusPainterWithInsets(gfx::Insets( |
- kFocusRectInset, kFocusRectInset, kFocusRectInset, kFocusRectInset))); |
+ SetFocusPainter(Painter::CreateDashedFocusPainterWithInsets(gfx::Insets(3))); |
} |
LabelButton::~LabelButton() {} |