aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/page.rs
diff options
context:
space:
mode:
authorDavid Winslow <cdwinslow@gmail.com>2015-07-01 16:31:07 -0400
committerDavid Winslow <cdwinslow@gmail.com>2015-07-01 18:27:06 -0400
commit4cf46bff2d00f33a8866dc6880c8f6178fdf81a4 (patch)
treebfa5da23abf5d88edd40c26486e34b0cf40383d9 /components/script/page.rs
parente958d92be6c35234bcffce2d4e74ece585de02e4 (diff)
downloadservo-4cf46bff2d00f33a8866dc6880c8f6178fdf81a4.tar.gz
servo-4cf46bff2d00f33a8866dc6880c8f6178fdf81a4.zip
Refactor #[jstraceable] to #[derive(JSTraceable)]
fixes #6524
Diffstat (limited to 'components/script/page.rs')
-rw-r--r--components/script/page.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/page.rs b/components/script/page.rs
index 9ef95429ec9..83c0c609a93 100644
--- a/components/script/page.rs
+++ b/components/script/page.rs
@@ -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.