Index: components/omnibox/autocomplete_input.cc |
diff --git a/components/omnibox/autocomplete_input.cc b/components/omnibox/autocomplete_input.cc |
index bbc7f87aa3c42da1dfb6801b880045b5b66ac3e6..2c6982b904008d2fb9e64283abd015896d25539e 100644 |
--- a/components/omnibox/autocomplete_input.cc |
+++ b/components/omnibox/autocomplete_input.cc |
@@ -345,7 +345,7 @@ metrics::OmniboxInputType::Type AutocompleteInput::Parse( |
// Trailing slashes force the input to be treated as a URL. |
if (parts->path.is_nonempty()) { |
- char c = text[parts->path.end() - 1]; |
+ base::char16 c = text[parts->path.end() - 1]; |
if ((c == '\\') || (c == '/')) |
return metrics::OmniboxInputType::URL; |
} |