Remove implicit conversions from scoped_refptr to T* in device/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Windows build.
BUG=110610
Review URL: https://codereview.chromium.org/748093002
Cr-Commit-Position: refs/heads/master@{#305241}
diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc
index 2e040c8..4ebaa101 100644
--- a/device/bluetooth/bluetooth_task_manager_win.cc
+++ b/device/bluetooth/bluetooth_task_manager_win.cc
@@ -195,7 +195,7 @@
void BluetoothTaskManagerWin::Shutdown() {
DCHECK(ui_task_runner_->RunsTasksOnCurrentThread());
- if (worker_pool_)
+ if (worker_pool_.get())
worker_pool_->Shutdown();
}