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

Unified Diff: chrome/renderer/renderer_webkitclient_impl.cc

Issue 3043055: Remove wstring-ness from some more locale variables. (Closed)
Patch Set: Created 10 years, 4 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/renderer/localized_error.cc ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webkitclient_impl.cc
diff --git a/chrome/renderer/renderer_webkitclient_impl.cc b/chrome/renderer/renderer_webkitclient_impl.cc
index fb6b3b19716404fdfa1db58eb379efdf4c0d3b94..c0e4b859067b9f6b1e73ceb0a0027e6b593a3271 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) {
« no previous file with comments | « chrome/renderer/localized_error.cc ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698