Index: remoting/host/video_scheduler_unittest.cc |
diff --git a/remoting/host/video_scheduler_unittest.cc b/remoting/host/video_scheduler_unittest.cc |
index 1d76d589c7b64d3dc6355dc7b6c08bf1726d4841..d79aa43714b310406d3e90b2e25875c502686044 100644 |
--- a/remoting/host/video_scheduler_unittest.cc |
+++ b/remoting/host/video_scheduler_unittest.cc |
@@ -317,9 +317,7 @@ TEST_F(VideoSchedulerTest, StartAndStop) { |
// Start video frame capture. |
scoped_ptr<webrtc::MouseCursorMonitor> mouse_cursor_monitor( |
new FakeMouseCursorMonitor()); |
- StartVideoScheduler(capturer.PassAs<webrtc::DesktopCapturer>(), |
- encoder.PassAs<VideoEncoder>(), |
- cursor_monitor.PassAs<webrtc::MouseCursorMonitor>()); |
+ StartVideoScheduler(capturer.Pass(), encoder.Pass(), cursor_monitor.Pass()); |
// Run until there are no more pending tasks from the VideoScheduler. |
// Otherwise, a lingering frame capture might attempt to trigger a capturer |