diff options
Diffstat (limited to 'components/omnibox/browser/search_suggestion_parser.cc')
-rw-r--r-- | components/omnibox/browser/search_suggestion_parser.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/omnibox/browser/search_suggestion_parser.cc b/components/omnibox/browser/search_suggestion_parser.cc index 30543fc..11fbdbb 100644 --- a/components/omnibox/browser/search_suggestion_parser.cc +++ b/components/omnibox/browser/search_suggestion_parser.cc @@ -151,8 +151,7 @@ void SearchSuggestionParser::SuggestResult::ClassifyMatchContents( // contents, and the input text has an overlap with contents. if (base::StartsWith(suggestion_, input_text, base::CompareCase::SENSITIVE) && - base::EndsWith(suggestion_, match_contents_, - base::CompareCase::SENSITIVE) && + base::EndsWith(suggestion_, match_contents_, true) && (input_text.length() > contents_index)) { lookup_text = input_text.substr(contents_index); } |