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

Unified Diff: device/bluetooth/bluetooth_socket_chromeos.cc

Issue 575503003: Remove implicit conversions from scoped_refptr to T* in device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « device/bluetooth/bluetooth_chromeos_unittest.cc ('k') | device/nfc/nfc_chromeos_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_chromeos.cc
diff --git a/device/bluetooth/bluetooth_socket_chromeos.cc b/device/bluetooth/bluetooth_socket_chromeos.cc
index 5eedf5b1c5a27b0028f0502067888ebb9f8a36da..e401a3d6536acde93933ace5f7a8fcc2a5fa2da0 100644
--- a/device/bluetooth/bluetooth_socket_chromeos.cc
+++ b/device/bluetooth/bluetooth_socket_chromeos.cc
@@ -245,7 +245,7 @@ void BluetoothSocketChromeOS::RegisterProfile(
// Before reaching out to the Bluetooth Daemon to register a listening socket,
// make sure it's actually running. If not, report success and carry on;
// the profile will be registered when the daemon becomes available.
- if (adapter_ && !adapter_->IsPresent()) {
+ if (adapter_.get() && !adapter_->IsPresent()) {
VLOG(1) << object_path_.value() << ": Delaying profile registration.";
success_callback.Run();
return;
« no previous file with comments | « device/bluetooth/bluetooth_chromeos_unittest.cc ('k') | device/nfc/nfc_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698