mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move boxing to runnable initialization
This commit is contained in:
parent
5f7324a9a5
commit
ad30275d04
10 changed files with 20 additions and 20 deletions
|
@ -73,7 +73,7 @@ impl VirtualMethods for HTMLDetailsElement {
|
|||
let window = window_from_node(self);
|
||||
let task_source = window.dom_manipulation_task_source();
|
||||
let details = Trusted::new(self);
|
||||
let runnable = DetailsNotificationRunnable {
|
||||
let runnable = box DetailsNotificationRunnable {
|
||||
element: details,
|
||||
toggle_number: counter
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue