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

Unified Diff: remoting/host/desktop_process_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/desktop_process_unittest.cc
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc
index 7a188a8b50e2af3bf86f1d0a59fb9ff0a018d489..69acc3a79b10858e65cc5062a2fa46ccb1101f2e 100644
--- a/remoting/host/desktop_process_unittest.cc
+++ b/remoting/host/desktop_process_unittest.cc
@@ -262,8 +262,7 @@ void DesktopProcessTest::RunDesktopProcess() {
.WillRepeatedly(Return(false));
DesktopProcess desktop_process(ui_task_runner, io_task_runner_, channel_name);
- EXPECT_TRUE(desktop_process.Start(
- desktop_environment_factory.PassAs<DesktopEnvironmentFactory>()));
+ EXPECT_TRUE(desktop_process.Start(desktop_environment_factory.Pass()));
ui_task_runner = NULL;
run_loop.Run();

Powered by Google App Engine
This is Rietveld 408576698