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_; |
} |