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

Unified Diff: chrome/browser/ui/webui/sync_internals_message_handler.cc

Issue 2251263003: 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
« no previous file with comments | « chrome/browser/ui/webui/settings/search_engines_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_internals_message_handler.cc
diff --git a/chrome/browser/ui/webui/sync_internals_message_handler.cc b/chrome/browser/ui/webui/sync_internals_message_handler.cc
index 4b71bd94be061335ef4526bb66f1ad1a266e0f44..58f7c63eca42fbb6a85988703e25edb2d70030a0 100644
--- a/chrome/browser/ui/webui/sync_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/sync_internals_message_handler.cc
@@ -43,7 +43,7 @@ class UtilAboutSyncDataExtractor : public AboutSyncDataExtractor {
SyncInternalsMessageHandler::SyncInternalsMessageHandler()
: SyncInternalsMessageHandler(
- base::WrapUnique(new UtilAboutSyncDataExtractor())) {}
+ base::MakeUnique<UtilAboutSyncDataExtractor>()) {}
SyncInternalsMessageHandler::SyncInternalsMessageHandler(
std::unique_ptr<AboutSyncDataExtractor> about_sync_data_extractor)
« no previous file with comments | « chrome/browser/ui/webui/settings/search_engines_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698