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

Unified Diff: remoting/host/video_scheduler_unittest.cc

Issue 609923004: Cleanup usage of scoped_ptr<> in remoting for C++11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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

Powered by Google App Engine
This is Rietveld 408576698