mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add event runnables
Make tasks a wrapper over runnables
This commit is contained in:
parent
9b01a4cc97
commit
afc0ccb48d
9 changed files with 79 additions and 61 deletions
|
@ -79,7 +79,7 @@ impl VirtualMethods for HTMLDetailsElement {
|
|||
element: details,
|
||||
toggle_number: counter
|
||||
};
|
||||
let _ = task_source.queue(DOMManipulationTask::Runnable(runnable));
|
||||
let _ = task_source.queue(DOMManipulationTask(runnable));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue