From ed578097fa1a348906fdd74ea32bf140c8f75071 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Fri, 6 Aug 2010 01:46:59 +0000 Subject: Remove GetSwitchValue() from chrome/* where easy. Review URL: http://codereview.chromium.org/3057033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55176 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/sandbox_init_wrapper_mac.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/common/sandbox_init_wrapper_mac.cc') 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; -- cgit v1.1