Index: components/omnibox/keyword_provider.cc |
diff --git a/components/omnibox/keyword_provider.cc b/components/omnibox/keyword_provider.cc |
index 13b2710637b3a60039d237bed48112b304caae41..d805b09f5b2bd364bbde1b28ea3ec6da8caa5076 100644 |
--- a/components/omnibox/keyword_provider.cc |
+++ b/components/omnibox/keyword_provider.cc |
@@ -138,7 +138,7 @@ const TemplateURL* KeywordProvider::GetSubstitutingTemplateURLForInput( |
// of the original input. |
if (input->cursor_position() != base::string16::npos && |
!remaining_input.empty() && |
- EndsWith(input->text(), remaining_input, true)) { |
+ 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. |