aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/attr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/attr.rs')
-rw-r--r--components/script/dom/attr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/attr.rs b/components/script/dom/attr.rs
index 2cd742ee422..bebe74935aa 100644
--- a/components/script/dom/attr.rs
+++ b/components/script/dom/attr.rs
@@ -303,7 +303,7 @@ impl Attr {
}
pub fn owner(&self) -> Option<Root<Element>> {
- self.owner.get().map(Root::from_rooted)
+ self.owner.get_rooted()
}
pub fn summarize(&self) -> AttrInfo {