servo: Merge #9683 - Issue #9561 continued - renamed *_thread_source to *_task_source (from kmuszyn:9561-more-thread-source-renamings); r=jdm
components/script/dom/bindings/global.rs modified -> all *_thread_source occurrences renamed to *_task_source to comply with spec Source-Repo: https://github.com/servo/servo Source-Revision: 63dc161b773775c6755a604ec04b81c0bc479bf3
This commit is contained in:
@@ -358,10 +358,10 @@ impl FileReader {
|
||||
|
||||
let load_data = ReadMetaData::new(String::from(type_), label.map(String::from), function);
|
||||
|
||||
let fr = Trusted::new(self, global.file_reading_thread_source());
|
||||
let fr = Trusted::new(self, global.file_reading_task_source());
|
||||
let gen_id = self.generation_id.get();
|
||||
|
||||
let script_chan = global.file_reading_thread_source();
|
||||
let script_chan = global.file_reading_task_source();
|
||||
|
||||
spawn_named("file reader async operation".to_owned(), move || {
|
||||
perform_annotated_read_operation(gen_id, load_data, blob_contents, fr, script_chan)
|
||||
|
||||
Reference in New Issue
Block a user