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

Unified Diff: remoting/host/daemon_process_win.cc

Issue 367403002: Add missing Pass() calls for passing scoped_ptrs on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: :-( Created 6 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 | « components/policy/core/common/registry_dict_win_unittest.cc ('k') | remoting/host/desktop_session_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_process_win.cc
diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc
index 6127c64c76699dee5eaab091ebfc46b5f86246d2..a67a8dba881db02e1fcee549009a0109655f9c5c 100644
--- a/remoting/host/daemon_process_win.cc
+++ b/remoting/host/daemon_process_win.cc
@@ -221,7 +221,8 @@ void DaemonProcessWin::LaunchNetworkProcess() {
scoped_ptr<UnprivilegedProcessDelegate> delegate(
new UnprivilegedProcessDelegate(io_task_runner(), target.Pass()));
- network_launcher_.reset(new WorkerProcessLauncher(delegate.Pass(), this));
+ network_launcher_.reset(new WorkerProcessLauncher(
+ delegate.PassAs<WorkerProcessLauncher::Delegate>(), this));
}
scoped_ptr<DaemonProcess> DaemonProcess::Create(
« no previous file with comments | « components/policy/core/common/registry_dict_win_unittest.cc ('k') | remoting/host/desktop_session_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698