summaryrefslogtreecommitdiffstats
path: root/views/view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/view.cc')
-rw-r--r--views/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view.cc b/views/view.cc
index 37f71d0..9d1c976 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -1133,7 +1133,7 @@ void View::OnPaintBorder(gfx::Canvas* canvas) {
}
void View::OnPaintFocusBorder(gfx::Canvas* canvas) {
- if (HasFocus() && (IsFocusable() || IsAccessibilityFocusableInRootView()))
+ if ((IsFocusable() || IsAccessibilityFocusableInRootView()) && HasFocus())
canvas->DrawFocusRect(0, 0, width(), height());
}