diff options
author | Arthur Skobara <skobara.arthur@gmail.com> | 2015-12-12 22:31:19 +0600 |
---|---|---|
committer | Arthur Skobara <skobara.arthur@gmail.com> | 2015-12-12 22:31:19 +0600 |
commit | 8acb21a59460d3ba91cd04439b2087127ad0ffe7 (patch) | |
tree | f059895fe839da5d75492d4606942edce7dfe652 /components/script/dom/htmllinkelement.rs | |
parent | f4783a0ec30c74f93c161372de806309900172ca (diff) | |
download | servo-8acb21a59460d3ba91cd04439b2087127ad0ffe7.tar.gz servo-8acb21a59460d3ba91cd04439b2087127ad0ffe7.zip |
Remove from Trusted::new an unnecessary argument
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r-- | components/script/dom/htmllinkelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs index d302430d756..60ab9627714 100644 --- a/components/script/dom/htmllinkelement.rs +++ b/components/script/dom/htmllinkelement.rs @@ -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, |