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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc

Issue 2259523003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc
index c978f3146ee972bb9c3e64912d9d19a225395b26..4a29b0caa16064688353a25567b288777ad68f5b 100644
--- a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc
@@ -105,8 +105,8 @@ void VerifyBlacklistLoadState(
}
// Send the report.
- incident_receiver->AddIncidentForProcess(base::WrapUnique(
- new BlacklistLoadIncident(std::move(blacklist_load))));
+ incident_receiver->AddIncidentForProcess(
+ base::MakeUnique<BlacklistLoadIncident>(std::move(blacklist_load)));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698