| Index: remoting/host/curtain_mode_win.cc
|
| diff --git a/remoting/host/curtain_mode_win.cc b/remoting/host/curtain_mode_win.cc
|
| index 237cb7b1509cd522efbdd980d3a08d982cc60d3d..2e5355f987d84f051f9cc5b0d33de6cf8fc775da 100644
|
| --- a/remoting/host/curtain_mode_win.cc
|
| +++ b/remoting/host/curtain_mode_win.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/win/windows_version.h"
|
| #include "remoting/host/client_session_control.h"
|
| @@ -44,14 +45,14 @@ bool CurtainModeWin::Activate() {
|
| }
|
|
|
| // static
|
| -scoped_ptr<CurtainMode> CurtainMode::Create(
|
| +std::unique_ptr<CurtainMode> CurtainMode::Create(
|
| scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
|
| scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
|
| base::WeakPtr<ClientSessionControl> client_session_control) {
|
| // |client_session_control| is not used because the client session is
|
| // disconnected as soon as the session is re-attached to the local console.
|
| // See RdpDesktopSession for more details.
|
| - return make_scoped_ptr(new CurtainModeWin());
|
| + return base::WrapUnique(new CurtainModeWin());
|
| }
|
|
|
| } // namespace remoting
|
|
|