diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 21:17:45 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 21:17:45 +0000 |
commit | ae40b572f534c3438e9d28ee9cf837531476ff17 (patch) | |
tree | 8bc76e8767534b42025852815965cfd2befd5a96 /chrome/browser/views | |
parent | 1f2532bec61be9751f526f74c7b77e85a7484c2c (diff) | |
download | chromium_src-ae40b572f534c3438e9d28ee9cf837531476ff17.zip chromium_src-ae40b572f534c3438e9d28ee9cf837531476ff17.tar.gz chromium_src-ae40b572f534c3438e9d28ee9cf837531476ff17.tar.bz2 |
Find-in-bar would steal focus when switching tab.
BUG=23296
TEST=See bug.
Review URL: http://codereview.chromium.org/243073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/frame/browser_view.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index a6b874a..a626250 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -1226,8 +1226,6 @@ void BrowserView::TabSelectedAt(TabContents* old_contents, // We only restore focus if our window is visible, to avoid invoking blur // handlers when we are eventually shown. new_contents->view()->RestoreFocus(); - if (new_contents->find_ui_active()) - browser_->find_bar()->find_bar()->SetFocusAndSelection(); } // Update all the UI bits. |