aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlobjectelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlobjectelement.rs')
-rw-r--r--components/script/dom/htmlobjectelement.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/script/dom/htmlobjectelement.rs b/components/script/dom/htmlobjectelement.rs
index e50669a3ad9..a6941461e5d 100644
--- a/components/script/dom/htmlobjectelement.rs
+++ b/components/script/dom/htmlobjectelement.rs
@@ -153,8 +153,10 @@ impl VirtualMethods for HTMLObjectElement {
Some(self.upcast::<HTMLElement>() as &dyn VirtualMethods)
}
- fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) {
- self.super_type().unwrap().attribute_mutated(attr, mutation);
+ fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation, can_gc: CanGc) {
+ self.super_type()
+ .unwrap()
+ .attribute_mutated(attr, mutation, can_gc);
match *attr.local_name() {
local_name!("data") => {
if let AttributeMutation::Set(_) = mutation {
@@ -162,7 +164,7 @@ impl VirtualMethods for HTMLObjectElement {
}
},
local_name!("form") => {
- self.form_attribute_mutated(mutation);
+ self.form_attribute_mutated(mutation, can_gc);
},
_ => {},
}