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

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

Issue 7607007: Add confidence to AutocompleteMatch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to pkasting Created 9 years, 4 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/builtin_provider.cc
diff --git a/chrome/browser/autocomplete/builtin_provider.cc b/chrome/browser/autocomplete/builtin_provider.cc
index 7fb5159d646e5d949afbedd2041ca08c87348e86..2559688a54b33b07d313531c90e94f202766576c 100644
--- a/chrome/browser/autocomplete/builtin_provider.cc
+++ b/chrome/browser/autocomplete/builtin_provider.cc
@@ -115,7 +115,7 @@ void BuiltinProvider::Start(const AutocompleteInput& input,
void BuiltinProvider::AddMatch(const string16& match_string,
const ACMatchClassifications& styles) {
- AutocompleteMatch match(this, kRelevance, false,
+ AutocompleteMatch match(this, kRelevance, 0.0f, false,
AutocompleteMatch::NAVSUGGEST);
match.fill_into_edit = match_string;
match.destination_url = GURL(match_string);

Powered by Google App Engine
This is Rietveld 408576698