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

Unified Diff: net/proxy/proxy_resolver_v8.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 | « net/proxy/proxy_config_service_win.cc ('k') | net/proxy/proxy_resolver_v8_tracing_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_v8.cc
diff --git a/net/proxy/proxy_resolver_v8.cc b/net/proxy/proxy_resolver_v8.cc
index fa62c2b0ba500b8868bb5a90ea979e98bcf7ce2e..7e44f15bda5b902049dda87348c5c389c28d3f5c 100644
--- a/net/proxy/proxy_resolver_v8.cc
+++ b/net/proxy/proxy_resolver_v8.cc
@@ -217,7 +217,7 @@ bool GetHostnameArgument(const v8::FunctionCallbackInfo<v8::Value>& args,
// If the hostname is already in ASCII, simply return it as is.
if (IsStringASCII(hostname_utf16)) {
- *hostname = UTF16ToASCII(hostname_utf16);
+ *hostname = base::UTF16ToASCII(hostname_utf16);
return true;
}
@@ -410,7 +410,7 @@ class ProxyResolverV8::Context {
return ERR_PAC_SCRIPT_FAILED;
}
- results->UsePacString(UTF16ToASCII(ret_str));
+ results->UsePacString(base::UTF16ToASCII(ret_str));
return OK;
}
« no previous file with comments | « net/proxy/proxy_config_service_win.cc ('k') | net/proxy/proxy_resolver_v8_tracing_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698