summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-01 22:08:40 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-01 22:08:40 +0000
commit2c6b431938793d4a687556f57df8e22927befdb4 (patch)
tree2602ae05ec2dcad5422c8a027eee343ff3edf045 /chrome/browser/autocomplete
parent35d25886c6d29a2182e28f1a11d6e6141e16d5f5 (diff)
downloadchromium_src-2c6b431938793d4a687556f57df8e22927befdb4.zip
chromium_src-2c6b431938793d4a687556f57df8e22927befdb4.tar.gz
chromium_src-2c6b431938793d4a687556f57df8e22927befdb4.tar.bz2
Adds keyword_search_terms to in memory db so that we can synchronously
get past searches. BUG=none TEST=none Review URL: http://codereview.chromium.org/4087013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/history_url_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc
index 0f75347..fd5b8fb 100644
--- a/chrome/browser/autocomplete/history_url_provider.cc
+++ b/chrome/browser/autocomplete/history_url_provider.cc
@@ -243,7 +243,7 @@ void HistoryURLProvider::DoAutocomplete(history::HistoryBackend* backend,
// give us far more than enough to work with. CullRedirects() will then
// reduce the list to the best kMaxMatches results.
db->AutocompleteForPrefix(WideToUTF16(i->prefix + params->input.text()),
- kMaxMatches * 2, &url_matches);
+ kMaxMatches * 2, (backend == NULL), &url_matches);
for (URLRowVector::const_iterator j(url_matches.begin());
j != url_matches.end(); ++j) {
const Prefix* best_prefix = BestPrefix(j->url(), std::wstring());