| Index: sandbox/win/src/target_process.cc
|
| diff --git a/sandbox/win/src/target_process.cc b/sandbox/win/src/target_process.cc
|
| index 2e0376fd9b537e4dc25966b8c801035453686438..495d35c9df0cca2b639b3912f75c80726e32da00 100644
|
| --- a/sandbox/win/src/target_process.cc
|
| +++ b/sandbox/win/src/target_process.cc
|
| @@ -7,11 +7,11 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| #include <utility>
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/free_deleter.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/win/pe_image.h"
|
| #include "base/win/startup_information.h"
|
| #include "base/win/windows_version.h"
|
| @@ -133,7 +133,7 @@ DWORD TargetProcess::Create(const wchar_t* exe_path,
|
| exe_name_.reset(_wcsdup(exe_path));
|
|
|
| // the command line needs to be writable by CreateProcess().
|
| - scoped_ptr<wchar_t, base::FreeDeleter> cmd_line(_wcsdup(command_line));
|
| + std::unique_ptr<wchar_t, base::FreeDeleter> cmd_line(_wcsdup(command_line));
|
|
|
| // Start the target process suspended.
|
| DWORD flags =
|
|
|