| Index: remoting/host/daemon_process.cc
|
| diff --git a/remoting/host/daemon_process.cc b/remoting/host/daemon_process.cc
|
| index b874426eaa999a9ae60cb35f736c71b2c51d3721..04e6ab2eab8c3a7b1a0b9955c411cf815e4f3dd5 100644
|
| --- a/remoting/host/daemon_process.cc
|
| +++ b/remoting/host/daemon_process.cc
|
| @@ -209,8 +209,8 @@ void DaemonProcess::CreateDesktopSession(int terminal_id,
|
| next_terminal_id_ = std::max(next_terminal_id_, terminal_id + 1);
|
|
|
| // Create the desktop session.
|
| - scoped_ptr<DesktopSession> session = DoCreateDesktopSession(
|
| - terminal_id, resolution, virtual_terminal);
|
| + std::unique_ptr<DesktopSession> session =
|
| + DoCreateDesktopSession(terminal_id, resolution, virtual_terminal);
|
| if (!session) {
|
| LOG(ERROR) << "Failed to create a desktop session.";
|
| SendToNetwork(
|
|
|