aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmloutputelement.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-23 04:13:52 +0530
committerGitHub <noreply@github.com>2024-10-22 22:43:52 +0000
commit7fbd2a521ee8ec6b21dd67e462da25883ecccabf (patch)
treea81a220df1e612112e323aba8187f9344fc1fb32 /components/script/dom/htmloutputelement.rs
parent7b392db02f96fa5f3663c5c9d29eed988efe0030 (diff)
downloadservo-7fbd2a521ee8ec6b21dd67e462da25883ecccabf.tar.gz
servo-7fbd2a521ee8ec6b21dd67e462da25883ecccabf.zip
CanGc fixes from eventtarget.rs (#33973)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/htmloutputelement.rs')
-rw-r--r--components/script/dom/htmloutputelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmloutputelement.rs b/components/script/dom/htmloutputelement.rs
index 667b0bdedfa..b2a4f65a4d3 100644
--- a/components/script/dom/htmloutputelement.rs
+++ b/components/script/dom/htmloutputelement.rs
@@ -132,8 +132,8 @@ impl HTMLOutputElementMethods for HTMLOutputElement {
}
// https://html.spec.whatwg.org/multipage/#dom-cva-checkvalidity
- fn CheckValidity(&self) -> bool {
- self.check_validity()
+ fn CheckValidity(&self, can_gc: CanGc) -> bool {
+ self.check_validity(can_gc)
}
// https://html.spec.whatwg.org/multipage/#dom-cva-reportvalidity