Chromium Code Reviews| Index: chrome/nacl/nacl_main_platform_delegate_mac.mm |
| diff --git a/chrome/nacl/nacl_main_platform_delegate_mac.mm b/chrome/nacl/nacl_main_platform_delegate_mac.mm |
| index 6e3121e71105dbb3b96e63d16428dc2437d40e46..d24d143c161342eb16ea5879f9edaf556c2fcd13 100644 |
| --- a/chrome/nacl/nacl_main_platform_delegate_mac.mm |
| +++ b/chrome/nacl/nacl_main_platform_delegate_mac.mm |
| @@ -9,6 +9,7 @@ |
| #include "base/file_path.h" |
| #include "base/logging.h" |
| #include "base/native_library.h" |
| +#include "chrome/common/chrome_sandbox_process_type_mac.h" |
| #include "chrome/common/chrome_switches.h" |
| #include "content/common/sandbox_mac.h" |
| #include "content/public/common/sandbox_init.h" |
| @@ -55,8 +56,9 @@ void NaClMainPlatformDelegate::InitSandboxTests(bool no_sandbox) { |
| } |
| void NaClMainPlatformDelegate::EnableSandbox() { |
| - CHECK(content::InitializeSandbox()) << "Error initializing sandbox for " |
| - << switches::kNaClLoaderProcess; |
| + CHECK(content::InitializeSandbox( |
| + CHROME_SANDBOX_PROCESS_TYPE_NACL_LOADER, FilePath())) |
|
jeremy
2011/11/24 12:20:19
imho this should be indented 4 from the start of "
jochen (gone - plz use gerrit)
2011/11/24 16:23:22
After renaming the constant, everything fitted int
|
| + << "Error initializing sandbox for " << switches::kNaClLoaderProcess; |
| } |
| bool NaClMainPlatformDelegate::RunSandboxTests() { |