| Index: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc
|
| index a6ad5f1cd094523872303becb63ca84874f87554..ab34959befaac01f1fd4abaceb976be88c5356c0 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "base/files/file_util.h"
|
| #include "base/mac/bundle_locations.h"
|
| #include "chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.h"
|
| @@ -33,7 +35,7 @@ void VerifyBinaryIntegrityHelper(IncidentReceiver* incident_receiver,
|
| incident(new ClientIncidentReport_IncidentData_BinaryIntegrityIncident());
|
| if (!evaluator.PerformEvaluation(incident.get())) {
|
| incident_receiver->AddIncidentForProcess(
|
| - make_scoped_ptr(new BinaryIntegrityIncident(incident.Pass())));
|
| + make_scoped_ptr(new BinaryIntegrityIncident(std::move(incident))));
|
| } else {
|
| // Clear past incidents involving this bundle if the signature is
|
| // now valid.
|
|
|