aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/page.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/page.rs')
-rw-r--r--components/script/page.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/page.rs b/components/script/page.rs
index cf532783c8b..6e8f414ef8d 100644
--- a/components/script/page.rs
+++ b/components/script/page.rs
@@ -425,6 +425,7 @@ impl Page {
/// Information for one frame in the browsing context.
#[deriving(Encodable)]
+#[must_root]
pub struct Frame {
/// The document for this frame.
pub document: JS<Document>,