diff options
author | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 18:45:45 +0000 |
---|---|---|
committer | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 18:45:45 +0000 |
commit | d0033329c98edaf3fff226aabe8f5adc7aa10c62 (patch) | |
tree | c9f400c195784b778ca8dc24a945abcf91a4ec5c /chrome/browser/views/frame | |
parent | d53b4ad91e57d3cf64c3188a89843242c75347aa (diff) | |
download | chromium_src-d0033329c98edaf3fff226aabe8f5adc7aa10c62.zip chromium_src-d0033329c98edaf3fff226aabe8f5adc7aa10c62.tar.gz chromium_src-d0033329c98edaf3fff226aabe8f5adc7aa10c62.tar.bz2 |
Fix 8063: Find-in-page remains open on History/Downloads page.
Added a UI test to catch this in the future. Also, in some of the UI tests I added a generic URL for pages that don't care about the content of the page and are just testing visibility of the Find box, etc.
TEST=Covered by tests already.
BUG=8063
Review URL: http://codereview.chromium.org/28162
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame')
-rw-r--r-- | chrome/browser/views/frame/browser_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index f06bd67..e7b36b8 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -937,7 +937,7 @@ void BrowserView::TabSelectedAt(TabContents* old_contents, UpdateToolbar(new_contents, true); UpdateUIForContents(new_contents); - if (find_bar_.get() && new_contents->AsWebContents()) + if (find_bar_.get()) find_bar_->ChangeWebContents(new_contents->AsWebContents()); } |