Index: components/omnibox/browser/search_suggestion_parser.cc |
diff --git a/components/omnibox/browser/search_suggestion_parser.cc b/components/omnibox/browser/search_suggestion_parser.cc |
index 11fbdbbbc22c353b735d641f13454a499034211c..30543fc3dbbc3f658ae1ff47ab2aec21b245c1f4 100644 |
--- a/components/omnibox/browser/search_suggestion_parser.cc |
+++ b/components/omnibox/browser/search_suggestion_parser.cc |
@@ -151,7 +151,8 @@ 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_, true) && |
+ base::EndsWith(suggestion_, match_contents_, |
+ base::CompareCase::SENSITIVE) && |
(input_text.length() > contents_index)) { |
lookup_text = input_text.substr(contents_index); |
} |