| Index: components/nacl/browser/nacl_broker_host_win.cc
|
| diff --git a/components/nacl/browser/nacl_broker_host_win.cc b/components/nacl/browser/nacl_broker_host_win.cc
|
| index fb6cd81b1a95f69cd78cca98dd8354644e87f8f2..4ad581a21bed3acc8b549f7fa1cccf71f0792d00 100644
|
| --- a/components/nacl/browser/nacl_broker_host_win.cc
|
| +++ b/components/nacl/browser/nacl_broker_host_win.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/base_switches.h"
|
| #include "base/command_line.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "components/nacl/browser/nacl_broker_service_win.h"
|
| #include "components/nacl/browser/nacl_browser.h"
|
| #include "components/nacl/common/nacl_cmd_line.h"
|
| @@ -68,8 +69,10 @@ bool NaClBrokerHost::Init() {
|
| if (NaClBrowser::GetDelegate()->DialogsAreSuppressed())
|
| cmd_line->AppendSwitch(switches::kNoErrorDialogs);
|
|
|
| - process_->Launch(new NaClBrokerSandboxedProcessLauncherDelegate, cmd_line,
|
| - true);
|
| + process_->Launch(
|
| + base::MakeUnique<NaClBrokerSandboxedProcessLauncherDelegate>(),
|
| + base::WrapUnique(cmd_line),
|
| + true);
|
| return true;
|
| }
|
|
|
|
|