summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfweitz@chromium.org <jfweitz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-12 20:17:35 +0000
committerjfweitz@chromium.org <jfweitz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-12 20:17:35 +0000
commitaabc52bc0c0f638da8ab0de9b90836bd6843e9d8 (patch)
treeb80f121315ddaa5c2b49d83d93134d5f6db2f22e
parent3692242bdc20d6ec67925ccb66986dbb01c0f1f9 (diff)
downloadchromium_src-aabc52bc0c0f638da8ab0de9b90836bd6843e9d8.zip
chromium_src-aabc52bc0c0f638da8ab0de9b90836bd6843e9d8.tar.gz
chromium_src-aabc52bc0c0f638da8ab0de9b90836bd6843e9d8.tar.bz2
Fix stopCapturingKeyStrokes incorrectly ignored
BUG=254588 Review URL: https://chromiumcodereview.appspot.com/18445006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211448 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ui/search/instant_controller.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc
index 77f94b9..b283229 100644
--- a/chrome/browser/ui/search/instant_controller.cc
+++ b/chrome/browser/ui/search/instant_controller.cc
@@ -489,8 +489,7 @@ void InstantController::FocusOmnibox(const content::WebContents* contents,
browser_->FocusOmnibox(false);
break;
case OMNIBOX_FOCUS_NONE:
- if (omnibox_focus_state_ != OMNIBOX_FOCUS_INVISIBLE)
- contents->GetView()->Focus();
+ contents->GetView()->Focus();
break;
}
}