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

Unified Diff: base/test/test_reg_util_win.cc

Issue 1527603002: Remove ScopedVector from test_reg_util_win (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: presubmit DONE Created 5 years 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 | « base/test/test_reg_util_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_reg_util_win.cc
diff --git a/base/test/test_reg_util_win.cc b/base/test/test_reg_util_win.cc
index a7d07f7ab2c617a86c7e33297f70c63d83ab4841..fdb91630b4999aac04adff28a8d5586b816b8c51 100644
--- a/base/test/test_reg_util_win.cc
+++ b/base/test/test_reg_util_win.cc
@@ -97,7 +97,8 @@ RegistryOverrideManager::~RegistryOverrideManager() {}
void RegistryOverrideManager::OverrideRegistry(HKEY override) {
base::string16 key_path = GenerateTempKeyPath(test_key_root_, timestamp_);
- overrides_.push_back(new ScopedRegistryKeyOverride(override, key_path));
+ overrides_.push_back(
+ make_scoped_ptr(new ScopedRegistryKeyOverride(override, key_path)));
}
base::string16 GenerateTempKeyPath() {
« no previous file with comments | « base/test/test_reg_util_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698