aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/macros.rs')
-rw-r--r--components/script/dom/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs
index 066c967c594..e67f04b30ba 100644
--- a/components/script/dom/macros.rs
+++ b/components/script/dom/macros.rs
@@ -87,7 +87,7 @@ macro_rules! make_url_or_base_getter(
match url.as_slice() {
"" => {
let window = window_from_node(self).root();
- window.get_url().serialize()
+ window.r().get_url().serialize()
},
_ => url
}