| Index: ui/views/controls/button/text_button.cc
|
| diff --git a/ui/views/controls/button/text_button.cc b/ui/views/controls/button/text_button.cc
|
| index 46b37b3d31fa300fe709c453a8dbffd66c68f9c6..38a80217d2b19d4735a3311862a4f6ab4d927e49 100644
|
| --- a/ui/views/controls/button/text_button.cc
|
| +++ b/ui/views/controls/button/text_button.cc
|
| @@ -753,7 +753,7 @@ std::string TextButton::GetClassName() const {
|
| }
|
|
|
| void TextButton::OnPaintFocusBorder(gfx::Canvas* canvas) {
|
| - if ((IsFocusable() || IsAccessibilityFocusableInRootView()) && HasFocus()) {
|
| + if ((focusable() || IsAccessibilityFocusableInRootView()) && HasFocus()) {
|
| gfx::Rect rect(GetLocalBounds());
|
| rect.Inset(kFocusRectInset, kFocusRectInset);
|
| canvas->DrawFocusRect(rect);
|
| @@ -841,7 +841,7 @@ std::string NativeTextButton::GetClassName() const {
|
|
|
| void NativeTextButton::OnPaintFocusBorder(gfx::Canvas* canvas) {
|
| #if defined(OS_WIN)
|
| - if ((IsFocusable() || IsAccessibilityFocusableInRootView()) && HasFocus()) {
|
| + if ((focusable() || IsAccessibilityFocusableInRootView()) && HasFocus()) {
|
| gfx::Rect rect(GetLocalBounds());
|
| rect.Inset(kFocusRectInset, kFocusRectInset);
|
| canvas->DrawFocusRect(rect);
|
|
|