Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4806)

Unified Diff: chrome/installer/util/registry_key_backup.cc

Issue 1878313003: Convert //chrome/installer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert decompress.cc in mini_installer. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/registry_key_backup.h ('k') | chrome/installer/util/registry_key_backup_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/registry_key_backup.cc
diff --git a/chrome/installer/util/registry_key_backup.cc b/chrome/installer/util/registry_key_backup.cc
index ecc89f6c7192632e8d46d7ce5b8bee76b3f9e7a4..daf99505388ea1a222359d68639c7751db37a46a 100644
--- a/chrome/installer/util/registry_key_backup.cc
+++ b/chrome/installer/util/registry_key_backup.cc
@@ -284,7 +284,7 @@ bool RegistryKeyBackup::Initialize(HKEY root,
wow64_access == KEY_WOW64_64KEY);
RegKey key;
- scoped_ptr<KeyData> key_data;
+ std::unique_ptr<KeyData> key_data;
// Does the key exist?
LONG result = key.Open(root, key_path, kKeyReadNoNotify | wow64_access);
« no previous file with comments | « chrome/installer/util/registry_key_backup.h ('k') | chrome/installer/util/registry_key_backup_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698