| Index: remoting/host/win/launch_process_with_token.cc
|
| diff --git a/remoting/host/win/launch_process_with_token.cc b/remoting/host/win/launch_process_with_token.cc
|
| index a274b334e2f44e0e21e7b0326b887532cbf87b48..04a6660dfabace20b536c7a4940491b1cd249e27 100644
|
| --- a/remoting/host/win/launch_process_with_token.cc
|
| +++ b/remoting/host/win/launch_process_with_token.cc
|
| @@ -9,10 +9,10 @@
|
| #include <winternl.h>
|
|
|
| #include <limits>
|
| +#include <memory>
|
| #include <utility>
|
|
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/rand_util.h"
|
| #include "base/scoped_native_library.h"
|
| #include "base/strings/string16.h"
|
| @@ -323,7 +323,7 @@ bool SendCreateProcessRequest(
|
| // and three nullptr-terminated string parameters.
|
| size_t size = sizeof(CreateProcessRequest) + sizeof(wchar_t) *
|
| (application_name.size() + command_line.size() + desktop.size() + 3);
|
| - scoped_ptr<char[]> buffer(new char[size]);
|
| + std::unique_ptr<char[]> buffer(new char[size]);
|
| memset(buffer.get(), 0, size);
|
|
|
| // Marshal the input parameters.
|
|
|