mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
parent
80cb0cf821
commit
9a6bd6c996
1 changed files with 2 additions and 6 deletions
|
@ -237,12 +237,8 @@ fn create_constellation(opts: opts::Opts,
|
||||||
layout_thread::LayoutThread,
|
layout_thread::LayoutThread,
|
||||||
script::script_thread::ScriptThread>::start(initial_state);
|
script::script_thread::ScriptThread>::start(initial_state);
|
||||||
|
|
||||||
// Send the URL command to the constellation.
|
if let Some(url) = opts.url {
|
||||||
match opts.url {
|
constellation_chan.send(ConstellationMsg::InitLoadUrl(url)).unwrap();
|
||||||
Some(url) => {
|
|
||||||
constellation_chan.send(ConstellationMsg::InitLoadUrl(url)).unwrap();
|
|
||||||
},
|
|
||||||
None => ()
|
|
||||||
};
|
};
|
||||||
|
|
||||||
constellation_chan
|
constellation_chan
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue