diff options
Diffstat (limited to 'components/script/dom/htmlobjectelement.rs')
-rwxr-xr-x | components/script/dom/htmlobjectelement.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmlobjectelement.rs b/components/script/dom/htmlobjectelement.rs index 4365034c2c8..75d84484e40 100755 --- a/components/script/dom/htmlobjectelement.rs +++ b/components/script/dom/htmlobjectelement.rs @@ -155,13 +155,13 @@ impl VirtualMethods for HTMLObjectElement { fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) { self.super_type().unwrap().attribute_mutated(attr, mutation); - match attr.local_name() { - &local_name!("data") => { + match *attr.local_name() { + local_name!("data") => { if let AttributeMutation::Set(_) = mutation { self.process_data_url(); } }, - &local_name!("form") => { + local_name!("form") => { self.form_attribute_mutated(mutation); }, _ => {}, |