aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllinkelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r--components/script/dom/htmllinkelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs
index 8014a7af4af..91c64c032ee 100644
--- a/components/script/dom/htmllinkelement.rs
+++ b/components/script/dom/htmllinkelement.rs
@@ -58,7 +58,7 @@ impl HTMLLinkElement {
}
fn get_attr(element: JSRef<Element>, name: &Atom) -> Option<String> {
- let elem = element.get_attribute(ns!(""), name).root();
+ let elem = element.get_attribute(&ns!(""), name).root();
elem.map(|e| {
// FIXME(https://github.com/rust-lang/rust/issues/23338)
let e = e.r();