mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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
|
@ -161,7 +161,7 @@ impl Storage {
|
|||
let global_ref = global_root.r();
|
||||
let task_source = global_ref.as_window().dom_manipulation_task_source();
|
||||
let trusted_storage = Trusted::new(self);
|
||||
task_source.queue(DOMManipulationTask::Runnable(
|
||||
task_source.queue(DOMManipulationTask(
|
||||
box StorageEventRunnable::new(trusted_storage, key, old_value, new_value))).unwrap();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue