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