Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: ui/views/controls/separator.cc

Issue 108063004: Give up focus if the focused view becomes unfocusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extracted to common code into FocusManager class Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/separator.cc
diff --git a/ui/views/controls/separator.cc b/ui/views/controls/separator.cc
index f8ce47004f4f73dfa5adc1c0c3962086a4e0bd6c..bbac3ede9dec728df4e8a8769b5964befdea4155 100644
--- a/ui/views/controls/separator.cc
+++ b/ui/views/controls/separator.cc
@@ -19,7 +19,7 @@ const int kSeparatorHeight = 1;
const SkColor kDefaultColor = SkColorSetARGB(255, 233, 233, 233);
Separator::Separator(Orientation orientation) : orientation_(orientation) {
- set_focusable(false);
+ SetFocusable(false);
}
Separator::~Separator() {

Powered by Google App Engine
This is Rietveld 408576698