| Index: chrome/browser/shell_integration_win.cc
|
| diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
|
| index 6c889d3c69aa1456e54a98d444387ea11a1fc7e8..27610f8c3fdce28d5aaff8e536f4de39d4c0bf4e 100644
|
| --- a/chrome/browser/shell_integration_win.cc
|
| +++ b/chrome/browser/shell_integration_win.cc
|
| @@ -380,8 +380,8 @@ class OpenSystemSettingsHelper {
|
| // Helper function to create a registry watcher for a given |key_path|. Do
|
| // nothing on initialization failure.
|
| void AddRegistryKeyWatcher(const wchar_t* key_path) {
|
| - auto reg_key = base::WrapUnique(
|
| - new base::win::RegKey(HKEY_CURRENT_USER, key_path, KEY_NOTIFY));
|
| + auto reg_key = base::MakeUnique<base::win::RegKey>(HKEY_CURRENT_USER,
|
| + key_path, KEY_NOTIFY);
|
|
|
| if (reg_key->Valid() &&
|
| reg_key->StartWatching(
|
|
|