Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Issue 568873003: Do not open or close IOHIDManager's IOHIDDeviceRefs. (Closed)

Created:
6 years, 3 months ago by Reilly Grant (use Gerrit)
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Do not open or close IOHIDManager's IOHIDDeviceRefs. The IOHIDManager object manages the IOHIDDevice instances that it creates. Calling IOHIDDeviceOpen on such an instance is a no-op and calling IOHIDDeviceClose prevents the IOHIDManager from tracking the lifetime of the device. The solution is to never open nor close these devices. BUG=413976 Committed: https://crrev.com/7b245aba250436867e5fd4dff77c08b9c5dc1a9d Cr-Commit-Position: refs/heads/master@{#294735}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add a comment explaining the NULL callback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -9 lines) Patch
M device/hid/hid_connection_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M device/hid/hid_connection_mac.cc View 1 4 chunks +22 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Reilly Grant (use Gerrit)
6 years, 3 months ago (2014-09-13 01:26:15 UTC) #2
Ken Rockot(use gerrit already)
lgtm pending resolution of inline comment https://codereview.chromium.org/568873003/diff/1/device/hid/hid_connection_mac.cc File device/hid/hid_connection_mac.cc (right): https://codereview.chromium.org/568873003/diff/1/device/hid/hid_connection_mac.cc#newcode38 device/hid/hid_connection_mac.cc:38: IOHIDDeviceRegisterInputReportCallback( Can you ...
6 years, 3 months ago (2014-09-13 01:36:17 UTC) #3
Reilly Grant (use Gerrit)
https://codereview.chromium.org/568873003/diff/1/device/hid/hid_connection_mac.cc File device/hid/hid_connection_mac.cc (right): https://codereview.chromium.org/568873003/diff/1/device/hid/hid_connection_mac.cc#newcode38 device/hid/hid_connection_mac.cc:38: IOHIDDeviceRegisterInputReportCallback( On 2014/09/13 01:36:17, Ken Rockot wrote: > Can ...
6 years, 3 months ago (2014-09-13 05:05:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/568873003/20001
6 years, 3 months ago (2014-09-13 05:21:43 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 035c80d41d0c27d24ffb721db1ee626679eac68b
6 years, 3 months ago (2014-09-13 06:18:32 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7b245aba250436867e5fd4dff77c08b9c5dc1a9d Cr-Commit-Position: refs/heads/master@{#294735}
6 years, 3 months ago (2014-09-13 06:20:20 UTC) #8
Marius
6 years, 3 months ago (2014-09-15 18:14:54 UTC) #10
Message was sent while issue was closed.
verified using 39.0.2159.0

Powered by Google App Engine
This is Rietveld 408576698