diff options
Diffstat (limited to 'components/script/dom/gamepad.rs')
-rw-r--r-- | components/script/dom/gamepad.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/gamepad.rs b/components/script/dom/gamepad.rs index 7f69f69af84..106b37a908e 100644 --- a/components/script/dom/gamepad.rs +++ b/components/script/dom/gamepad.rs @@ -132,7 +132,7 @@ impl Gamepad { ) -> DomRoot<Gamepad> { let button_list = GamepadButtonList::init_buttons(global); let vibration_actuator = - GamepadHapticActuator::new(global, gamepad_id, supported_haptic_effects); + GamepadHapticActuator::new(global, gamepad_id, supported_haptic_effects, can_gc); let index = if xr { -1 } else { 0 }; let gamepad = reflect_dom_object_with_proto( Box::new(Gamepad::new_inherited( |