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

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

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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 952981f36f2e7232d7516ef9fafb344aec7cde13..71a7b12775bd293a2cede567042f56dc741d6d35 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
@@ -6,6 +6,8 @@
#include <stddef.h>
+#include <utility>
+
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
@@ -79,7 +81,7 @@ void VerifyBinaryIntegrity(scoped_ptr<IncidentReceiver> incident_receiver) {
// Send the report.
incident_receiver->AddIncidentForProcess(
- make_scoped_ptr(new BinaryIntegrityIncident(incident.Pass())));
+ make_scoped_ptr(new 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