diff options
Diffstat (limited to 'components/script/dom/gamepadpose.rs')
-rw-r--r-- | components/script/dom/gamepadpose.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/gamepadpose.rs b/components/script/dom/gamepadpose.rs index d17681b3a0a..012b1dd7679 100644 --- a/components/script/dom/gamepadpose.rs +++ b/components/script/dom/gamepadpose.rs @@ -49,7 +49,7 @@ impl GamepadPose { } } -impl GamepadPoseMethods for GamepadPose { +impl GamepadPoseMethods<crate::DomTypeHolder> for GamepadPose { // https://w3c.github.io/gamepad/extensions.html#dom-gamepadpose-position fn GetPosition(&self, _cx: JSContext) -> Option<Float32Array> { self.position.buffer_to_option() |