Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: chrome/browser/autocomplete/search_provider.cc

Issue 6995032: Fix a browser crash involving omnibox extension keywords. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: latest Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/search_provider.cc
diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc
index f82dd47984ec48106af7d28bccacb0c0ca2f81ac..79f1b846909dcb08bdd784de6c194faef0b15508 100644
--- a/chrome/browser/autocomplete/search_provider.cc
+++ b/chrome/browser/autocomplete/search_provider.cc
@@ -631,7 +631,7 @@ void SearchProvider::AddHistoryResultsToMap(const HistoryResults& results,
if (!input_.prevent_inline_autocomplete() && classifier &&
i->term != input_.text()) {
AutocompleteMatch match;
- classifier->Classify(i->term, string16(), false, &match, NULL);
+ classifier->Classify(i->term, string16(), false, false, &match, NULL);
term_looks_like_url = match.transition == PageTransition::TYPED;
}
int relevance = CalculateRelevanceForHistory(i->time, term_looks_like_url,
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698