diff options
Diffstat (limited to 'components/script/dom/attr.rs')
-rw-r--r-- | components/script/dom/attr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/attr.rs b/components/script/dom/attr.rs index 465ed0f4042..e4241f713ad 100644 --- a/components/script/dom/attr.rs +++ b/components/script/dom/attr.rs @@ -315,7 +315,7 @@ impl Attr { } (old, new) => assert!(old == new) } - self.owner.set(owner.map(JS::from_ref)) + self.owner.set(owner); } pub fn owner(&self) -> Option<Root<Element>> { |