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/filereader.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/filereader.rs')
-rw-r--r-- | components/script/dom/filereader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/filereader.rs b/components/script/dom/filereader.rs index 783e17eb608..1627fde901a 100644 --- a/components/script/dom/filereader.rs +++ b/components/script/dom/filereader.rs @@ -361,7 +361,7 @@ impl FileReader { let load_data = ReadMetaData::new(String::from(type_), label.map(String::from), function); - let fr = Trusted::new(global.get_cx(), self, global.file_reading_task_source()); + let fr = Trusted::new(self, global.file_reading_task_source()); let gen_id = self.generation_id.get(); let script_chan = global.file_reading_task_source(); |