summaryrefslogtreecommitdiffstats
path: root/chrome/views/native_button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/native_button.cc')
-rw-r--r--chrome/views/native_button.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/views/native_button.cc b/chrome/views/native_button.cc
index 00aea52..d6db326 100644
--- a/chrome/views/native_button.cc
+++ b/chrome/views/native_button.cc
@@ -191,8 +191,7 @@ void NativeButton::Init(const std::wstring& label, bool is_default) {
void NativeButton::Clicked() {
DCHECK(enabled_);
// Give the focus to the button.
- if (IsFocusable())
- RequestFocus();
+ RequestFocus();
if (listener_)
listener_->ButtonPressed(this);