mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Introduce GlobalScope::get_runnable_wrapper
This commit is contained in:
parent
ca8c6fb072
commit
514819f37a
4 changed files with 16 additions and 13 deletions
|
@ -354,7 +354,7 @@ impl FileReader {
|
|||
let fr = Trusted::new(self);
|
||||
let gen_id = self.generation_id.get();
|
||||
|
||||
let wrapper = self.global().r().get_runnable_wrapper();
|
||||
let wrapper = self.global_scope().get_runnable_wrapper();
|
||||
let task_source = self.global().r().file_reading_task_source();
|
||||
|
||||
spawn_named("file reader async operation".to_owned(), move || {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue