mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -93,7 +93,7 @@ impl ErrorEvent {
|
|||
|
||||
// Dictionaries need to be rooted
|
||||
// https://github.com/servo/servo/issues/6381
|
||||
rooted!(in(global.get_cx()) let error = init.error);
|
||||
rooted!(in(global.get_cx()) let error = init.error.get());
|
||||
let event = ErrorEvent::new(
|
||||
global,
|
||||
Atom::from(type_),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue