Remove global wrapper objects for Bluetooth Classic and LE
Having these API wrapper objects be globals is dangerous because each BluetoothTaskManagerWin creates a new task runner on which to run Bluetooth tasks. Since this is the only class that uses these objects it can just own them instead. To simplify things the weak HANDLE reference in BluetoothTaskManagerWin has also been removed. Bug: 820864 Change-Id: I2abaca53c1b7388503e0f18ac6a004426f0e95ac Reviewed-on: https://chromium-review.googlesource.com/1117445 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:Giovanni Ortuño Urquidi <ortuno@chromium.org> Cr-Commit-Position: refs/heads/master@{#575015}
Showing
This diff is collapsed.
Please register or sign in to comment