aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gamepadlist.rs
diff options
context:
space:
mode:
authorbors-servo <servo-ops@mozilla.com>2020-04-08 23:02:50 -0400
committerGitHub <noreply@github.com>2020-04-08 23:02:50 -0400
commit37023b24f256f7defd605e90e0873afee9197a1e (patch)
tree86bb88347003ebe0a47d5c5e3a8f6c8fdddbc503 /components/script/dom/gamepadlist.rs
parente691e42d58f6b0f29aa5c09abdc6b669f53408b0 (diff)
parentc611e46381c9b813aa134ac34b631145ef0c8672 (diff)
downloadservo-37023b24f256f7defd605e90e0873afee9197a1e.tar.gz
servo-37023b24f256f7defd605e90e0873afee9197a1e.zip
Auto merge of #26136 - asajeffrey:goodbye-webvr, r=Manishearth
Remove WebVR <!-- Please describe your changes on the following line: --> Removes support for WebVR. WebXR is our future! --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because how do you test <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/gamepadlist.rs')
-rw-r--r--components/script/dom/gamepadlist.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/gamepadlist.rs b/components/script/dom/gamepadlist.rs
index 34479e6bb7c..ed551df4c35 100644
--- a/components/script/dom/gamepadlist.rs
+++ b/components/script/dom/gamepadlist.rs
@@ -17,6 +17,8 @@ pub struct GamepadList {
list: DomRefCell<Vec<Dom<Gamepad>>>,
}
+// TODO: support gamepad discovery
+#[allow(dead_code)]
impl GamepadList {
fn new_inherited(list: &[&Gamepad]) -> GamepadList {
GamepadList {