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

Unified Diff: chrome/common/extensions/permissions/bluetooth_device_permission.cc

Issue 15836003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/permissions/bluetooth_device_permission.cc
diff --git a/chrome/common/extensions/permissions/bluetooth_device_permission.cc b/chrome/common/extensions/permissions/bluetooth_device_permission.cc
index 8cb0b1810d896cec410835efc704532859e10b7d..d9d00c740b77c13202be713e10667f20b8f8639b 100644
--- a/chrome/common/extensions/permissions/bluetooth_device_permission.cc
+++ b/chrome/common/extensions/permissions/bluetooth_device_permission.cc
@@ -46,7 +46,7 @@ PermissionMessages BluetoothDevicePermission::GetMessages() const {
const std::string& device_address = i->device_address();
string16 device_identifier;
- if (bluetooth_adapter) {
+ if (bluetooth_adapter.get()) {
device::BluetoothDevice* device =
bluetooth_adapter->GetDevice(device_address);
if (device)

Powered by Google App Engine
This is Rietveld 408576698