summaryrefslogtreecommitdiffstats
path: root/sandbox/mac/bootstrap_sandbox_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/mac/bootstrap_sandbox_unittest.mm')
-rw-r--r--sandbox/mac/bootstrap_sandbox_unittest.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/mac/bootstrap_sandbox_unittest.mm b/sandbox/mac/bootstrap_sandbox_unittest.mm
index f9068d6..85f627f 100644
--- a/sandbox/mac/bootstrap_sandbox_unittest.mm
+++ b/sandbox/mac/bootstrap_sandbox_unittest.mm
@@ -96,7 +96,9 @@ class BootstrapSandboxTest : public base::MultiProcessTest {
const char* child_name,
base::ProcessHandle* out_pid) {
sandbox_->PrepareToForkWithPolicy(policy_id);
- base::ProcessHandle pid = SpawnChild(child_name);
+ base::LaunchOptions options;
+ options.replacement_bootstrap_name = sandbox_->server_bootstrap_name();
+ base::ProcessHandle pid = SpawnChildWithOptions(child_name, options);
ASSERT_GT(pid, 0);
sandbox_->FinishedFork(pid);
int code = 0;