Chromium Code Reviews| Index: chrome/browser/zygote_main_linux.cc |
| diff --git a/chrome/browser/zygote_main_linux.cc b/chrome/browser/zygote_main_linux.cc |
| index 86f1decf77bf849d7892e310d45e90cff58bfc5d..b03e59c3b19ac92adb2aa6eb576222ad4cf0492c 100644 |
| --- a/chrome/browser/zygote_main_linux.cc |
| +++ b/chrome/browser/zygote_main_linux.cc |
| @@ -589,14 +589,6 @@ static void PreSandboxInit() { |
| base::SysInfo::MaxSharedMemorySize(); |
| - // To make wcstombs/mbstowcs work in a renderer, setlocale() has to be |
| - // called before the sandbox is triggered. It's possible to avoid calling |
|
Evan Martin
2011/01/31 22:51:37
I repeated this test that prompted this extra code
|
| - // setlocale() by pulling out the conversion between FilePath and |
| - // WebCore String out of the renderer and using string16 in place of |
| - // FilePath for IPC. |
| - const char* locale = setlocale(LC_ALL, ""); |
| - LOG_IF(WARNING, locale == NULL) << "setlocale failed."; |
| - |
| // ICU DateFormat class (used in base/time_format.cc) needs to get the |
| // Olson timezone ID by accessing the zoneinfo files on disk. After |
| // TimeZone::createDefault is called once here, the timezone ID is |