| 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..c46a080828c968e9fc0a2a2be7260998fe79be94 100644
|
| --- a/chrome/nacl/nacl_main_platform_delegate_mac.mm
|
| +++ b/chrome/nacl/nacl_main_platform_delegate_mac.mm
|
| @@ -9,9 +9,11 @@
|
| #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"
|
| +#include "grit/browser_resources.h"
|
|
|
| NaClMainPlatformDelegate::NaClMainPlatformDelegate(
|
| const content::MainFunctionParams& parameters)
|
| @@ -55,8 +57,8 @@ void NaClMainPlatformDelegate::InitSandboxTests(bool no_sandbox) {
|
| }
|
|
|
| void NaClMainPlatformDelegate::EnableSandbox() {
|
| - CHECK(content::InitializeSandbox()) << "Error initializing sandbox for "
|
| - << switches::kNaClLoaderProcess;
|
| + CHECK(content::InitializeSandbox(CHROME_SANDBOX_TYPE_NACL_LOADER, FilePath()))
|
| + << "Error initializing sandbox for " << switches::kNaClLoaderProcess;
|
| }
|
|
|
| bool NaClMainPlatformDelegate::RunSandboxTests() {
|
|
|