mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Constellation: removed almost all opts::get
This commit is contained in:
parent
3a2705f587
commit
cd153efb4a
6 changed files with 53 additions and 23 deletions
|
@ -646,7 +646,7 @@ impl UnprivilegedPipelineContent {
|
|||
.expect("Failed to create IPC one-shot server.");
|
||||
|
||||
// If there is a sandbox, use the `gaol` API to create the child process.
|
||||
if opts::get().sandbox {
|
||||
if self.opts.sandbox {
|
||||
let mut command = sandbox::Command::me().expect("Failed to get current sandbox.");
|
||||
self.setup_common(&mut command, token);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue