summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorjracle@logitech.com <jracle@logitech.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-30 17:41:46 +0000
committerjracle@logitech.com <jracle@logitech.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-30 17:41:46 +0000
commit988d2a0017f4cdbb77a08ce793eb8bb72c981408 (patch)
treed1adbf044ab065a23eeccd4048cc500398d44b11 /device
parent7dd3ddabc2c5a11f79b74bb80df213e379ba25fe (diff)
downloadchromium_src-988d2a0017f4cdbb77a08ce793eb8bb72c981408.zip
chromium_src-988d2a0017f4cdbb77a08ce793eb8bb72c981408.tar.gz
chromium_src-988d2a0017f4cdbb77a08ce793eb8bb72c981408.tar.bz2
HID: fix missing has_report_id for Windows
R=reillyg@chromium.org,rockot@chromium.org BUG=None Review URL: https://codereview.chromium.org/429923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r--device/hid/hid_service_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/device/hid/hid_service_win.cc b/device/hid/hid_service_win.cc
index a0d6c89..130b3cb 100644
--- a/device/hid/hid_service_win.cc
+++ b/device/hid/hid_service_win.cc
@@ -227,6 +227,7 @@ void HidServiceWin::PlatformAddDevice(const std::string& device_path) {
int report_id = button_caps[i].ReportID;
if (report_id != 0) {
collection_info.report_ids.insert(report_id);
+ device_info.has_report_id = true;
}
}
}