commit | a255d1be5723813c1a3e793b8388ed61edcea5b1 | [log] [tgz] |
---|---|---|
author | Reilly Grant <reillyg@chromium.org> | Thu Nov 14 07:01:05 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 14 07:01:05 2019 |
tree | 2420f03df3352aa09d50403c520cc7f0cabd74fc | |
parent | 912b6e6ee7ee947d4d8d91ada1f206760f2bc27f [diff] |
Fix ownership of BluetoothAdapter in BluetoothDeviceChooserController BluetoothAdapter is a reference counted object and so BluetoothDeviceChooserController should own it using a scoped_refptr. Fixing this requires also fixing BluetoothAdapterFactoryWrapper's AcquireAdapterCallback to take a scoped_refptr rather than a raw pointer. A test for proper ownership has been added. Bug: 1024121 Change-Id: I6342322e059f9cbff2a0d5f073f6bccfb0ca7c36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1914536 Reviewed-by: Matt Reynolds <mattreynolds@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#715206}
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 .