| Index: chrome/installer/util/scoped_user_protocol_entry.cc
|
| diff --git a/chrome/installer/util/scoped_user_protocol_entry.cc b/chrome/installer/util/scoped_user_protocol_entry.cc
|
| index 3aa7f0211d40b6d3139a971e1a8f6500694f7ff5..f806217b65d6b4a2f03148b106591985ed63e2b3 100644
|
| --- a/chrome/installer/util/scoped_user_protocol_entry.cc
|
| +++ b/chrome/installer/util/scoped_user_protocol_entry.cc
|
| @@ -5,13 +5,14 @@
|
| #include "chrome/installer/util/scoped_user_protocol_entry.h"
|
|
|
| #include "base/files/file_path.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/string16.h"
|
| #include "base/win/registry.h"
|
| #include "chrome/installer/util/registry_entry.h"
|
| #include "chrome/installer/util/shell_util.h"
|
|
|
| ScopedUserProtocolEntry::ScopedUserProtocolEntry(const wchar_t* protocol) {
|
| - entries_.push_back(new RegistryEntry(
|
| + entries_.push_back(base::MakeUnique<RegistryEntry>(
|
| base::FilePath(ShellUtil::kRegClasses).Append(protocol).value(),
|
| ShellUtil::kRegUrlProtocol, base::string16()));
|
| if (!entries_.back()->KeyExistsInRegistry(RegistryEntry::LOOK_IN_HKCU) &&
|
|
|