Refactor #[jstraceable] to #[derive(JSTraceable)]

fixes #6524
This commit is contained in:
David Winslow 2015-07-01 16:31:07 -04:00
parent e958d92be6
commit 4cf46bff2d
51 changed files with 97 additions and 137 deletions

View file

@ -27,7 +27,7 @@ use js::{JSTrue, JSFalse};
use std::ptr;
use std::default::Default;
#[jstraceable]
#[derive(JSTraceable)]
#[privatize]
#[allow(raw_pointer_derive)]
pub struct BrowserContext {
@ -87,7 +87,7 @@ impl BrowserContext {
// without a reflector, so we don't mark this as #[dom_struct]
#[must_root]
#[privatize]
#[jstraceable]
#[derive(JSTraceable)]
pub struct SessionHistoryEntry {
document: JS<Document>,
children: Vec<BrowserContext>