| Index: chrome/browser/history/scored_history_match.cc
|
| diff --git a/chrome/browser/history/scored_history_match.cc b/chrome/browser/history/scored_history_match.cc
|
| index c462df90eae9e6a196bfdd69822be4cfe8fad196..b28ab0232effd3e0bd54230d2f6d293e0cab48a0 100644
|
| --- a/chrome/browser/history/scored_history_match.cc
|
| +++ b/chrome/browser/history/scored_history_match.cc
|
| @@ -18,6 +18,7 @@
|
| #include "chrome/browser/autocomplete/history_url_provider.h"
|
| #include "chrome/browser/autocomplete/url_prefix.h"
|
| #include "chrome/browser/bookmarks/bookmark_service.h"
|
| +#include "chrome/browser/bookmarks/bookmark_utils.h"
|
| #include "chrome/browser/omnibox/omnibox_field_trial.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "content/public/browser/browser_thread.h"
|
| @@ -65,8 +66,8 @@ ScoredHistoryMatch::ScoredHistoryMatch(const URLRow& row,
|
|
|
| // Figure out where each search term appears in the URL and/or page title
|
| // so that we can score as well as provide autocomplete highlighting.
|
| - base::string16 url = CleanUpUrlForMatching(gurl, languages);
|
| - base::string16 title = CleanUpTitleForMatching(row.title());
|
| + base::string16 url = bookmark_utils::CleanUpUrlForMatching(gurl, languages);
|
| + base::string16 title = bookmark_utils::CleanUpTitleForMatching(row.title());
|
| int term_num = 0;
|
| for (String16Vector::const_iterator iter = terms.begin(); iter != terms.end();
|
| ++iter, ++term_num) {
|
|
|