mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use Heap for dictionary and union members.
This commit is contained in:
parent
5eaa19bdd4
commit
8ce9ca6243
10 changed files with 35 additions and 27 deletions
|
@ -53,7 +53,6 @@ impl PopStateEvent {
|
|||
ev
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
pub fn Constructor(window: &Window,
|
||||
type_: DOMString,
|
||||
init: &PopStateEventBinding::PopStateEventInit)
|
||||
|
@ -62,7 +61,7 @@ impl PopStateEvent {
|
|||
Atom::from(type_),
|
||||
init.parent.bubbles,
|
||||
init.parent.cancelable,
|
||||
unsafe { HandleValue::from_marked_location(&init.state) }))
|
||||
init.state.handle()))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue