| Index: chrome/browser/sandbox_policy.cc
|
| diff --git a/chrome/browser/sandbox_policy.cc b/chrome/browser/sandbox_policy.cc
|
| index ed6198040e45f89ddca794e8a3797547fced5a84..5c21a67f927b47739b618174f4a40fdd929050c0 100644
|
| --- a/chrome/browser/sandbox_policy.cc
|
| +++ b/chrome/browser/sandbox_policy.cc
|
| @@ -337,7 +337,7 @@ base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
|
| base::ProcessHandle process = 0;
|
| const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
|
| ChildProcessInfo::ProcessType type;
|
| - std::wstring type_str = cmd_line->GetSwitchValue(switches::kProcessType);
|
| + std::string type_str = cmd_line->GetSwitchValueASCII(switches::kProcessType);
|
| if (type_str == switches::kRendererProcess) {
|
| type = ChildProcessInfo::RENDER_PROCESS;
|
| } else if (type_str == switches::kPluginProcess) {
|
|
|