mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Use JSTraceable everywhere
This commit is contained in:
parent
85f79290a6
commit
cc44a3b064
133 changed files with 325 additions and 278 deletions
|
@ -33,7 +33,7 @@ pub enum GlobalRoot<'a, 'b> {
|
|||
|
||||
/// A traced reference to a global object, for use in fields of traced Rust
|
||||
/// structures.
|
||||
#[deriving(Encodable)]
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
pub enum GlobalField {
|
||||
WindowField(JS<Window>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue