| Index: chrome/views/controls/label.cc
|
| ===================================================================
|
| --- chrome/views/controls/label.cc (revision 14445)
|
| +++ chrome/views/controls/label.cc (working copy)
|
| @@ -48,6 +48,7 @@
|
| collapse_when_hidden_ = false;
|
| rtl_alignment_mode_ = USE_UI_ALIGNMENT;
|
| paint_as_focused_ = false;
|
| + has_focus_border_ = false;
|
| }
|
|
|
| Label::~Label() {
|
| @@ -335,7 +336,7 @@
|
|
|
| gfx::Insets Label::GetInsets() const {
|
| gfx::Insets insets = View::GetInsets();
|
| - if (IsFocusable() || paint_as_focused_) {
|
| + if (IsFocusable() || has_focus_border_) {
|
| insets += gfx::Insets(kFocusBorderPadding, kFocusBorderPadding,
|
| kFocusBorderPadding, kFocusBorderPadding);
|
| }
|
|
|