mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Derive the Default trait for dictionaries containing GC values.
This commit is contained in:
parent
b169689f32
commit
16166d6673
6 changed files with 49 additions and 7 deletions
|
@ -522,3 +522,12 @@ fn inner_invoke(window: Option<&Window>,
|
|||
// Step 3.
|
||||
found
|
||||
}
|
||||
|
||||
impl Default for EventBinding::EventInit {
|
||||
fn default() -> EventBinding::EventInit {
|
||||
EventBinding::EventInit {
|
||||
bubbles: false,
|
||||
cancelable: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue