| Index: chrome/browser/extensions/api/messaging/native_process_launcher_win.cc
|
| diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc b/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc
|
| index be44395800ed745404d251aaeb3785121bcf26a1..1d51922fd275306dc4251b7057bd5e49a93a16aa 100644
|
| --- a/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc
|
| +++ b/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc
|
| @@ -140,7 +140,7 @@ bool NativeProcessLauncher::LaunchNativeProcess(
|
| LOG(ERROR) << "COMSPEC is not set";
|
| return false;
|
| }
|
| - scoped_ptr<wchar_t[]> comspec(new wchar_t[comspec_length]);
|
| + std::unique_ptr<wchar_t[]> comspec(new wchar_t[comspec_length]);
|
| ::GetEnvironmentVariable(L"COMSPEC", comspec.get(), comspec_length);
|
|
|
| base::string16 command_line_string = command_line.GetCommandLineString();
|
|
|