aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbuttonelement.rs
diff options
context:
space:
mode:
authorPatrick Shaughnessy <pshaughn@comcast.net>2020-01-30 09:52:54 -0500
committerPatrick Shaughnessy <pshaughn@comcast.net>2020-01-30 17:37:33 -0500
commit9cc218d0b064cb517d6963bcd3ffa746ba447976 (patch)
tree470f8de8018dfc43410fe4237843489bf2cbf53c /components/script/dom/htmlbuttonelement.rs
parent1352e7188a007624badaca5e55b301c9f260b5f9 (diff)
downloadservo-9cc218d0b064cb517d6963bcd3ffa746ba447976.tar.gz
servo-9cc218d0b064cb517d6963bcd3ffa746ba447976.zip
SubmitEvent and test changes
Diffstat (limited to 'components/script/dom/htmlbuttonelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlbuttonelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlbuttonelement.rs b/components/script/dom/htmlbuttonelement.rs
index b7c7da1e9bf..49541a2d4a0 100755
--- a/components/script/dom/htmlbuttonelement.rs
+++ b/components/script/dom/htmlbuttonelement.rs
@@ -307,7 +307,7 @@ impl Activatable for HTMLButtonElement {
if let Some(owner) = self.form_owner() {
owner.submit(
SubmittedFrom::NotFromForm,
- FormSubmitter::ButtonElement(self.clone()),
+ FormSubmitter::ButtonElement(self),
);
}
},