Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm |
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm |
index 9cef5fa94b8881782b13833c328a813140648e63..053002fdbc5cef734df541dbc0b3534766aa162b 100644 |
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm |
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm |
@@ -527,7 +527,7 @@ NSAttributedString* CreateClassifiedAttributedString( |
&contentsStartIndex); |
// Ignore invalid state. |
if (!base::StartsWith(match.fill_into_edit, inputText, true) || |
- !EndsWith(match.fill_into_edit, match.contents, true) || |
+ !base::EndsWith(match.fill_into_edit, match.contents, true) || |
((size_t)contentsStartIndex >= inputText.length())) { |
return 0; |
} |