mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -64,7 +64,7 @@ impl MessageEvent {
|
|||
-> Fallible<Root<MessageEvent>> {
|
||||
// Dictionaries need to be rooted
|
||||
// https://github.com/servo/servo/issues/6381
|
||||
rooted!(in(global.get_cx()) let data = init.data);
|
||||
rooted!(in(global.get_cx()) let data = init.data.get());
|
||||
let ev = MessageEvent::new(global,
|
||||
Atom::from(type_),
|
||||
init.parent.bubbles,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue