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

Unified Diff: base/test/test_suite.cc

Issue 1521023002: Remove use_aura build arg. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | ui/events/devices/x11/device_list_cache_x11.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_suite.cc
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index e281cff3da288f8f333f370a9f3a2fc6f668b7a4..b6fb2ef7a362d8e3cf2099bdf1d90e256ac73f3b 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -142,12 +142,6 @@ void TestSuite::PreInitialize(bool create_at_exit_manager) {
testing::GTEST_FLAG(catch_exceptions) = false;
#endif
EnableTerminationOnHeapCorruption();
-#if defined(OS_LINUX) && defined(USE_AURA)
- // When calling native char conversion functions (e.g wrctomb) we need to
- // have the locale set. In the absence of such a call the "C" locale is the
- // default. In the gtk code (below) gtk_init() implicitly sets a locale.
- setlocale(LC_ALL, "");
-#endif // defined(OS_LINUX) && defined(USE_AURA)
// On Android, AtExitManager is created in
// testing/android/native_test_wrapper.cc before main() is called.
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | ui/events/devices/x11/device_list_cache_x11.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698