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 13477436a08..dd2842fe079 100644
--- a/components/script/dom/macros.rs
+++ b/components/script/dom/macros.rs
@@ -84,7 +84,7 @@ macro_rules! make_url_or_base_getter(
let url = element.get_url_attribute(&Atom::from_slice($htmlname));
if url.is_empty() {
let window = window_from_node(self);
- window.r().get_url().serialize()
+ window.get_url().serialize()
} else {
url
}