mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue