aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlinputelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 867bca5eab7..66e5b036f86 100755
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -2072,7 +2072,7 @@ impl HTMLInputElement {
// but we can get here from synthetic keydown events
button
.upcast::<Node>()
- .fire_synthetic_mouse_event_not_trusted(DOMString::from("click"));
+ .fire_synthetic_mouse_event_not_trusted(DOMString::from("click"), can_gc);
}
},
None => {
@@ -2801,7 +2801,7 @@ impl Activatable for HTMLInputElement {
}
// https://html.spec.whatwg.org/multipage/#run-post-click-activation-steps
- fn activation_behavior(&self, _event: &Event, _target: &EventTarget) {
+ fn activation_behavior(&self, _event: &Event, _target: &EventTarget, _can_gc: CanGc) {
let ty = self.input_type();
match ty {
InputType::Submit => {