Index: chrome/browser/autocomplete/history_quick_provider.cc |
=================================================================== |
--- chrome/browser/autocomplete/history_quick_provider.cc (revision 92729) |
+++ chrome/browser/autocomplete/history_quick_provider.cc (working copy) |
@@ -32,9 +32,6 @@ |
using history::ScoredHistoryMatch; |
using history::ScoredHistoryMatches; |
-// The initial maximum allowable score for a match which cannot be inlined. |
-const int kMaxNonInliningScore = 1199; |
- |
HistoryQuickProvider::HistoryQuickProvider(ACProviderListener* listener, |
Profile* profile) |
: HistoryProvider(listener, profile, "HistoryQuickProvider"), |
@@ -123,6 +120,10 @@ |
} |
} |
+// static |
+const int HistoryQuickProvider::kMaxNonInliningScore = |
+ AutocompleteResult::kLowestDefaultScore - 1; |
+ |
AutocompleteMatch HistoryQuickProvider::QuickMatchToACMatch( |
const ScoredHistoryMatch& history_match, |
bool prevent_inline_autocomplete, |