summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/localized_error.cc2
-rw-r--r--chrome/renderer/renderer_webkitclient_impl.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc
index 00898e4..386e75b3 100644
--- a/chrome/renderer/localized_error.cc
+++ b/chrome/renderer/localized_error.cc
@@ -226,7 +226,7 @@ void GetLocalizedErrorValues(const WebURLError& error,
if (learn_more_url.is_valid()) {
// Add the language parameter to the URL.
std::string query = learn_more_url.query() + "&hl=" +
- WideToASCII(webkit_glue::GetWebKitLocale());
+ webkit_glue::GetWebKitLocale();
GURL::Replacements repl;
repl.SetQueryStr(query);
learn_more_url = learn_more_url.ReplaceComponents(repl);
diff --git a/chrome/renderer/renderer_webkitclient_impl.cc b/chrome/renderer/renderer_webkitclient_impl.cc
index fb6b3b1..c0e4b85 100644
--- a/chrome/renderer/renderer_webkitclient_impl.cc
+++ b/chrome/renderer/renderer_webkitclient_impl.cc
@@ -225,7 +225,7 @@ void RendererWebKitClientImpl::cacheMetadata(
WebString RendererWebKitClientImpl::defaultLocale() {
// TODO(darin): Eliminate this webkit_glue call.
- return WideToUTF16(webkit_glue::GetWebKitLocale());
+ return ASCIIToUTF16(webkit_glue::GetWebKitLocale());
}
void RendererWebKitClientImpl::suddenTerminationChanged(bool enabled) {