Index: components/omnibox/search_suggestion_parser.cc |
diff --git a/components/omnibox/search_suggestion_parser.cc b/components/omnibox/search_suggestion_parser.cc |
index ecf580dfb699567bf41e226cadcc95ea8297371b..5ef420174f23c6de062a356a087f7116b1e2b2ef 100644 |
--- a/components/omnibox/search_suggestion_parser.cc |
+++ b/components/omnibox/search_suggestion_parser.cc |
@@ -149,7 +149,7 @@ void SearchSuggestionParser::SuggestResult::ClassifyMatchContents( |
// Ensure the query starts with the input text, and ends with the match |
// contents, and the input text has an overlap with contents. |
if (base::StartsWith(suggestion_, input_text, true) && |
- EndsWith(suggestion_, match_contents_, true) && |
+ base::EndsWith(suggestion_, match_contents_, true) && |
(input_text.length() > contents_index)) { |
lookup_text = input_text.substr(contents_index); |
} |