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

Unified Diff: components/test_runner/tracked_dictionary.cc

Issue 2257793002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
Index: components/test_runner/tracked_dictionary.cc
diff --git a/components/test_runner/tracked_dictionary.cc b/components/test_runner/tracked_dictionary.cc
index 2903f6156805a6ee09e38a8a30c92162b379ae08..a5a8999fb242c308bd9ecf1b9a163090bd22db1e 100644
--- a/components/test_runner/tracked_dictionary.cc
+++ b/components/test_runner/tracked_dictionary.cc
@@ -40,12 +40,12 @@ void TrackedDictionary::Set(const std::string& path,
}
void TrackedDictionary::SetBoolean(const std::string& path, bool new_value) {
- Set(path, base::WrapUnique(new base::FundamentalValue(new_value)));
+ Set(path, base::MakeUnique<base::FundamentalValue>(new_value));
}
void TrackedDictionary::SetString(const std::string& path,
const std::string& new_value) {
- Set(path, base::WrapUnique(new base::StringValue(new_value)));
+ Set(path, base::MakeUnique<base::StringValue>(new_value));
}
} // namespace test_runner
« no previous file with comments | « components/syncable_prefs/pref_service_syncable_unittest.cc ('k') | components/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698