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

Unified Diff: remoting/host/win/host_service.cc

Issue 719353002: Remove implicit conversions from scoped_refptr to T* in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: remoting/host/win/host_service.cc
diff --git a/remoting/host/win/host_service.cc b/remoting/host/win/host_service.cc
index 7c1197a87ccfe14478e99b8a8ac10ba5f5acba0a..4d25ab7dddb6a93830a83b5fc9c05cdb162fdd4f 100644
--- a/remoting/host/win/host_service.cc
+++ b/remoting/host/win/host_service.cc
@@ -206,7 +206,7 @@ void HostService::CreateLauncher(
scoped_refptr<AutoThreadTaskRunner> io_task_runner =
AutoThread::CreateWithType(
kIoThreadName, task_runner, base::MessageLoop::TYPE_IO);
- if (!io_task_runner) {
+ if (!io_task_runner.get()) {
LOG(FATAL) << "Failed to start the I/O thread";
return;
}
« remoting/base/auto_thread.cc ('K') | « remoting/host/setup/win/auth_code_getter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698