Index: components/omnibox/browser/keyword_provider.cc |
diff --git a/components/omnibox/browser/keyword_provider.cc b/components/omnibox/browser/keyword_provider.cc |
index b6f7877b3e30c00752b82e7d30b25e556b0ed3e5..8992f02f8717f4d795f9b93b76d03ee8866442e9 100644 |
--- a/components/omnibox/browser/keyword_provider.cc |
+++ b/components/omnibox/browser/keyword_provider.cc |
@@ -139,7 +139,8 @@ const TemplateURL* KeywordProvider::GetSubstitutingTemplateURLForInput( |
// of the original input. |
if (input->cursor_position() != base::string16::npos && |
!remaining_input.empty() && |
- base::EndsWith(input->text(), remaining_input, true)) { |
+ base::EndsWith(input->text(), remaining_input, |
+ base::CompareCase::SENSITIVE)) { |
int offset = input->text().length() - input->cursor_position(); |
// The cursor should never be past the last character or before the |
// first character. |