diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 01:24:08 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 01:24:08 +0000 |
commit | 153c6986284b7fc39fe5a875e0df5c8f29120957 (patch) | |
tree | 6f891ff5bbf3f2029d8c8a011d8916de6f2bfe1f /chrome/browser/dom_ui/dom_ui_contents.cc | |
parent | 193e1cdbcaac17d0fac6093f9bd63cd5477e4325 (diff) | |
download | chromium_src-153c6986284b7fc39fe5a875e0df5c8f29120957.zip chromium_src-153c6986284b7fc39fe5a875e0df5c8f29120957.tar.gz chromium_src-153c6986284b7fc39fe5a875e0df5c8f29120957.tar.bz2 |
Stop history search going on beyond the start of history.
Stop losing first-searches on history page due to
BUG=8438,8456
Review URL: http://codereview.chromium.org/43054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11411 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/dom_ui_contents.cc')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_contents.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc index cad2dd4..9d80db3 100644 --- a/chrome/browser/dom_ui/dom_ui_contents.cc +++ b/chrome/browser/dom_ui/dom_ui_contents.cc @@ -246,7 +246,7 @@ bool DOMUIContents::InitCurrentUI(bool reload) { if (url.is_empty() || !url.is_valid()) return false; - if (reload || url != current_url_) { + if (reload || url.host() != current_url_.host()) { // Shut down our existing DOMUI. delete current_ui_; current_ui_ = NULL; |