mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove from Trusted::new an unnecessary argument
This commit is contained in:
parent
f4783a0ec3
commit
8acb21a594
12 changed files with 22 additions and 23 deletions
|
@ -198,7 +198,7 @@ impl HTMLLinkElement {
|
|||
// TODO: #8085 - Don't load external stylesheets if the node's mq doesn't match.
|
||||
let doc = window.Document();
|
||||
let script_chan = window.networking_task_source();
|
||||
let elem = Trusted::new(window.get_cx(), self, script_chan.clone());
|
||||
let elem = Trusted::new(self, script_chan.clone());
|
||||
|
||||
let context = Arc::new(Mutex::new(StylesheetContext {
|
||||
elem: elem,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue