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 1e2692f064b..9a3593f20d8 100644 --- a/components/script/dom/attr.rs +++ b/components/script/dom/attr.rs @@ -170,7 +170,7 @@ impl Attr { assert!(Some(owner) == self.owner().r()); owner.will_mutate_attr(); mem::swap(&mut *self.value.borrow_mut(), &mut value); - if self.identifier.namespace == ns!("") { + if self.identifier.namespace == ns!() { vtable_for(owner.upcast()) .attribute_mutated(self, AttributeMutation::Set(Some(&value))); } |