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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.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
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
index 6db4232c4f0715584d88b9b07415c5a6b910d5f6..9912d92cca50b74e75b8825b6df91cf83d67387f 100644
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
@@ -45,7 +45,7 @@ void ClearBinaryIntegrityForFile(IncidentReceiver* incident_receiver,
incident(new ClientIncidentReport_IncidentData_BinaryIntegrityIncident());
incident->set_file_basename(basename);
incident_receiver->ClearIncidentForProcess(
- base::WrapUnique(new BinaryIntegrityIncident(std::move(incident))));
+ base::MakeUnique<BinaryIntegrityIncident>(std::move(incident)));
}
void RegisterBinaryIntegrityAnalysis() {
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698