commit | 29be76624e607cb63e495d1cbf1481cb34e5c8f5 | [log] [tgz] |
---|---|---|
author | Matt Reynolds <mattreynolds@google.com> | Wed Jan 17 20:33:56 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 17 20:33:56 2018 |
tree | 2725f1dfcef829afba46d00524de97269660313e | |
parent | 3ea9867e6d9a5965c7481d1eb03719ab47476ecd [diff] |
Don't clear devices during gamepad enumeration In GamepadPlatformDataFetcherLinux, when enumerating devices with EnumerateSubsystemDevices, we incorrectly clear the device list. Since we enumerate multiple subsystems, this causes us to lose all devices except those found in the last subsystem. This CL instead clears the device list before enumeration begins. This CL also combines some subsystem strings that were duplicated. BUG=749295 Change-Id: I905b75ba37e1e53cbd67777ed7e07c2a66df4073 Reviewed-on: https://chromium-review.googlesource.com/865807 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#529859}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .