diff options
Diffstat (limited to 'chrome/common/sandbox_init_wrapper_mac.cc')
-rw-r--r-- | chrome/common/sandbox_init_wrapper_mac.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/sandbox_init_wrapper_mac.cc b/chrome/common/sandbox_init_wrapper_mac.cc index 1b8e2d9..79cf08f 100644 --- a/chrome/common/sandbox_init_wrapper_mac.cc +++ b/chrome/common/sandbox_init_wrapper_mac.cc @@ -41,8 +41,8 @@ bool SandboxInitWrapper::InitializeSandbox(const CommandLine& command_line, } else if (process_type == switches::kUtilityProcess) { // Utility process sandbox. sandbox_process_type = sandbox::SANDBOX_TYPE_UTILITY; - allowed_dir = FilePath::FromWStringHack( - command_line.GetSwitchValue(switches::kUtilityProcessAllowedDir)); + allowed_dir = + command_line.GetSwitchValuePath(switches::kUtilityProcessAllowedDir); } else if (process_type == switches::kWorkerProcess) { // Worker process sandbox. sandbox_process_type = sandbox::SANDBOX_TYPE_WORKER; |