mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Implement Runnable trait name method for ResourceSelectionTask, fixing #12348
This commit is contained in:
parent
5601de0269
commit
23ba67662c
1 changed files with 2 additions and 0 deletions
|
@ -759,6 +759,8 @@ impl ResourceSelectionTask {
|
|||
}
|
||||
|
||||
impl Runnable for ResourceSelectionTask {
|
||||
fn name(&self) -> &'static str { "ResourceSelectionTask" }
|
||||
|
||||
fn handler(self: Box<ResourceSelectionTask>) {
|
||||
self.elem.root().resource_selection_algorithm_sync(self.base_url);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue