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(); |