Index: mojo/runner/linux_sandbox.cc |
diff --git a/mojo/runner/linux_sandbox.cc b/mojo/runner/linux_sandbox.cc |
index 06165b2a0f6213d23109ee48bb947dec187b0294..fb6af970bd89b26e26b85410a965aa8262efbd17 100644 |
--- a/mojo/runner/linux_sandbox.cc |
+++ b/mojo/runner/linux_sandbox.cc |
@@ -92,8 +92,8 @@ class SandboxPolicy : public sandbox::bpf_dsl::Policy { |
LinuxSandbox::LinuxSandbox(const std::vector<BrokerFilePermission>& permissions) |
: broker_(new sandbox::syscall_broker::BrokerProcess(EPERM, permissions)) { |
- broker_->Init( |
- base::Bind<bool (*)()>(&sandbox::Credentials::DropAllCapabilities)); |
+ CHECK(broker_->Init( |
+ base::Bind<bool (*)()>(&sandbox::Credentials::DropAllCapabilities))); |
policy_.reset(new SandboxPolicy(broker_.get())); |
} |