Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3899)

Unified Diff: chrome/browser/autocomplete/autocomplete_input.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/browser/background/background_contents_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_input.cc
diff --git a/chrome/browser/autocomplete/autocomplete_input.cc b/chrome/browser/autocomplete/autocomplete_input.cc
index 48670e7e1094d1ca15ac695e4d80962ec59736a1..ea4285172a6a3c21fd963991f877554d079d22ff 100644
--- a/chrome/browser/autocomplete/autocomplete_input.cc
+++ b/chrome/browser/autocomplete/autocomplete_input.cc
@@ -186,7 +186,7 @@ AutocompleteInput::Type AutocompleteInput::Parse(
// the renderer handles internally without reaching the net::URLRequest
// logic. They thus won't be listed as "handled protocols", but we should
// still claim to handle them.
- if (ProfileIOData::IsHandledProtocol(UTF16ToASCII(parsed_scheme)) ||
+ if (ProfileIOData::IsHandledProtocol(base::UTF16ToASCII(parsed_scheme)) ||
LowerCaseEqualsASCII(parsed_scheme, content::kViewSourceScheme) ||
LowerCaseEqualsASCII(parsed_scheme, content::kJavaScriptScheme) ||
LowerCaseEqualsASCII(parsed_scheme, content::kDataScheme))
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/browser/background/background_contents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698