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

Unified Diff: remoting/host/chromoting_host_context_unittest.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « remoting/client/client_context.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_context_unittest.cc
diff --git a/remoting/host/chromoting_host_context_unittest.cc b/remoting/host/chromoting_host_context_unittest.cc
index c945defb03a6ed434ddd9d54b8e9b687558af6cd..dca913f4e165f45603d33e5098fb76eec03121ee 100644
--- a/remoting/host/chromoting_host_context_unittest.cc
+++ b/remoting/host/chromoting_host_context_unittest.cc
@@ -23,13 +23,13 @@ TEST(ChromotingHostContextTest, StartAndStop) {
EXPECT_TRUE(context);
if (!context)
return;
- EXPECT_TRUE(context->audio_task_runner());
- EXPECT_TRUE(context->video_capture_task_runner());
- EXPECT_TRUE(context->video_encode_task_runner());
- EXPECT_TRUE(context->file_task_runner());
- EXPECT_TRUE(context->input_task_runner());
- EXPECT_TRUE(context->network_task_runner());
- EXPECT_TRUE(context->ui_task_runner());
+ EXPECT_TRUE(context->audio_task_runner().get());
+ EXPECT_TRUE(context->video_capture_task_runner().get());
+ EXPECT_TRUE(context->video_encode_task_runner().get());
+ EXPECT_TRUE(context->file_task_runner().get());
+ EXPECT_TRUE(context->input_task_runner().get());
+ EXPECT_TRUE(context->network_task_runner().get());
+ EXPECT_TRUE(context->ui_task_runner().get());
context.reset();
run_loop.Run();
« no previous file with comments | « remoting/client/client_context.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698