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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_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/binary_integrity_analyzer_win.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.cc b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.cc
index e873dcac618ba71b65fb206a20ec00cfdadffb32..d8c45f87c06765ad9d1a2940ce90ecf772b34471 100644
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.cc
@@ -83,7 +83,7 @@ void VerifyBinaryIntegrity(
// Send the report.
incident_receiver->AddIncidentForProcess(
- base::WrapUnique(new BinaryIntegrityIncident(std::move(incident))));
+ base::MakeUnique<BinaryIntegrityIncident>(std::move(incident)));
} else {
// The binary is integral, remove previous report so that next incidents
// for the binary will be reported.

Powered by Google App Engine
This is Rietveld 408576698