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

Unified Diff: device/bluetooth/bluetooth_socket_thread.cc

Issue 507053002: Remove implicit conversions from scoped_refptr to T* in device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Regenerate Created 6 years, 4 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_socket_net.cc ('k') | device/hid/hid_connection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_thread.cc
diff --git a/device/bluetooth/bluetooth_socket_thread.cc b/device/bluetooth/bluetooth_socket_thread.cc
index 1f3b97bf98be34ca62c2f60911df727e5840b74f..6aa1013f7325c71f95354156dd4964d9d3b1d044 100644
--- a/device/bluetooth/bluetooth_socket_thread.cc
+++ b/device/bluetooth/bluetooth_socket_thread.cc
@@ -23,7 +23,7 @@ scoped_refptr<BluetoothSocketThread> BluetoothSocketThread::Get() {
// static
void BluetoothSocketThread::CleanupForTesting() {
- DCHECK(g_instance.Get());
+ DCHECK(g_instance.Get().get());
g_instance.Get() = NULL;
}
@@ -70,7 +70,7 @@ scoped_refptr<base::SequencedTaskRunner> BluetoothSocketThread::task_runner()
const {
DCHECK(active_socket_count_ > 0);
DCHECK(thread_);
- DCHECK(task_runner_);
+ DCHECK(task_runner_.get());
return task_runner_;
}
« no previous file with comments | « device/bluetooth/bluetooth_socket_net.cc ('k') | device/hid/hid_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698