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

@ -14,7 +14,7 @@ use std::rc::Rc;
use url::Url;
/// Encapsulates a handle to a frame in a frame tree.
#[jstraceable]
#[derive(JSTraceable)]
pub struct Page {
/// Pipeline id associated with this page.
id: PipelineId,
@ -133,7 +133,7 @@ impl Page {
}
/// Information for one frame in the browsing context.
#[jstraceable]
#[derive(JSTraceable)]
#[must_root]
pub struct Frame {
/// The document for this frame.