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 84dc04086f8..50e028a03b3 100644
--- a/components/script/dom/attr.rs
+++ b/components/script/dom/attr.rs
@@ -319,7 +319,7 @@ impl Attr {
}
pub fn owner(&self) -> Option<Root<Element>> {
- self.owner.get_rooted()
+ self.owner.get()
}
pub fn summarize(&self) -> AttrInfo {