mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -185,7 +185,7 @@ impl HTMLImageElement {
|
|||
src: src.into(),
|
||||
});
|
||||
let task = window.dom_manipulation_task_source();
|
||||
let _ = task.queue(DOMManipulationTask::Runnable(runnable));
|
||||
let _ = task.queue(DOMManipulationTask(runnable));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue