Replace CanGc::note() with arguments passed by callers (#33917)

Signed-off-by: Wulan Seruniati Salim <lauwwulan1806@gmail.com>

remove not necessary comment

Co-authored-by: Wulan Seruniati Salim <lauwwulan1806@gmail.com>
This commit is contained in:
Wulan Seruniati Salim 2024-10-20 15:24:36 +07:00 committed by GitHub
parent a57b6a3f79
commit a14b65f30b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 10 deletions

View file

@ -49,16 +49,10 @@ impl XRReferenceSpaceEvent {
cancelable: bool,
space: &XRReferenceSpace,
transform: Option<&XRRigidTransform>,
can_gc: CanGc,
) -> DomRoot<XRReferenceSpaceEvent> {
Self::new_with_proto(
global,
None,
type_,
bubbles,
cancelable,
space,
transform,
CanGc::note(),
global, None, type_, bubbles, cancelable, space, transform, can_gc,
)
}