diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/browser_main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 120a7c1..7d7e6ab 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -658,11 +658,11 @@ int BrowserMain(const MainFunctionParams& parameters) { action.sa_handler = SIGHUPHandler; CHECK(sigaction(SIGHUP, &action, NULL) == 0); - const std::wstring fd_limit_string = - parsed_command_line.GetSwitchValue(switches::kFileDescriptorLimit); + const std::string fd_limit_string = + parsed_command_line.GetSwitchValueASCII(switches::kFileDescriptorLimit); int fd_limit = 0; if (!fd_limit_string.empty()) { - StringToInt(WideToUTF16Hack(fd_limit_string), &fd_limit); + StringToInt(fd_limit_string, &fd_limit); } #if defined(OS_MACOSX) // We use quite a few file descriptors for our IPC, and the default limit on |