aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gamepadbutton.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gamepadbutton.rs')
-rw-r--r--components/script/dom/gamepadbutton.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/gamepadbutton.rs b/components/script/dom/gamepadbutton.rs
index c23b2848379..7ed3ed56728 100644
--- a/components/script/dom/gamepadbutton.rs
+++ b/components/script/dom/gamepadbutton.rs
@@ -38,7 +38,7 @@ impl GamepadButton {
}
}
-impl GamepadButtonMethods for GamepadButton {
+impl GamepadButtonMethods<crate::DomTypeHolder> for GamepadButton {
// https://www.w3.org/TR/gamepad/#widl-GamepadButton-pressed
fn Pressed(&self) -> bool {
self.pressed.get()