aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/location.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/location.rs')
-rw-r--r--components/script/dom/location.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/location.rs b/components/script/dom/location.rs
index e310c52d49e..0a1f6fd842f 100644
--- a/components/script/dom/location.rs
+++ b/components/script/dom/location.rs
@@ -15,6 +15,7 @@ use servo_util::str::DOMString;
use std::rc::Rc;
#[deriving(Encodable)]
+#[must_root]
pub struct Location {
reflector_: Reflector, //XXXjdm cycle: window->Location->window
page: Rc<Page>,