aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/workerlocation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/workerlocation.rs')
-rw-r--r--components/script/dom/workerlocation.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/workerlocation.rs b/components/script/dom/workerlocation.rs
index 0d32c211554..8154d4d01b7 100644
--- a/components/script/dom/workerlocation.rs
+++ b/components/script/dom/workerlocation.rs
@@ -15,6 +15,7 @@ use servo_util::str::DOMString;
use url::Url;
#[deriving(Encodable)]
+#[must_root]
pub struct WorkerLocation {
reflector_: Reflector,
url: Untraceable<Url>,