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

Unified Diff: content/browser/browser_main_loop.cc

Issue 8889002: Fix test failures when calling native char conversion functions (e.g wrctomb). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed for linux Created 9 years 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
« base/test/test_suite.cc ('K') | « build/all.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 1e0808c6cf2e4dd96051644d77b0044c23c6b02e..7823617c0a30070293dcf8edee40893207142736 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -523,6 +523,10 @@ void BrowserMainLoop::InitializeToolkit() {
// requirement for gconf.
g_type_init();
+#if defined(USE_AURA)
+ setlocale(LC_ALL, "");
+#endif
+
#if !defined(USE_AURA)
gfx::GtkInitFromCommandLine(parameters_.command_line);
#endif
« base/test/test_suite.cc ('K') | « build/all.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698