Index: chrome/app/chrome_dll_main.cc |
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc |
index ff9464ab1a8a0ca4b243aef9fb0a7806f46566da..4df3961a4f6eea2aedaa0ee516ac4e6fe96c8a55 100644 |
--- a/chrome/app/chrome_dll_main.cc |
+++ b/chrome/app/chrome_dll_main.cc |
@@ -346,8 +346,8 @@ int ChromeMain(int argc, char** argv) { |
#endif |
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); |
- std::wstring process_type = |
- parsed_command_line.GetSwitchValue(switches::kProcessType); |
+ std::string process_type = |
+ parsed_command_line.GetSwitchValueASCII(switches::kProcessType); |
#if defined(OS_MACOSX) |
mac_util::SetOverrideAppBundlePath(chrome::GetFrameworkBundlePath()); |
@@ -361,8 +361,8 @@ int ChromeMain(int argc, char** argv) { |
#if defined(OS_LINUX) |
// Show the man page on --help or -h. |
- if (parsed_command_line.HasSwitch(L"help") || |
- parsed_command_line.HasSwitch(L"h")) { |
+ if (parsed_command_line.HasSwitch("help") || |
+ parsed_command_line.HasSwitch("h")) { |
FilePath binary(parsed_command_line.argv()[0]); |
int ret = execlp("man", "man", binary.BaseName().value().c_str(), NULL); |
LOG(FATAL) << "execlp failed: " << strerror(ret); |