mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
parent
a57b6a3f79
commit
a14b65f30b
3 changed files with 6 additions and 10 deletions
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue