summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/dom_ui_contents.cc
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 01:24:08 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 01:24:08 +0000
commit153c6986284b7fc39fe5a875e0df5c8f29120957 (patch)
tree6f891ff5bbf3f2029d8c8a011d8916de6f2bfe1f /chrome/browser/dom_ui/dom_ui_contents.cc
parent193e1cdbcaac17d0fac6093f9bd63cd5477e4325 (diff)
downloadchromium_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.cc2
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;