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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/blacklist_load_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/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 b42229bf07bd1ef70b861cb162b9d68422990a5b..6672de3b4a60b7d57fff4317d50be8234a7c4fae 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
@@ -4,6 +4,8 @@
#include "chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h"
+#include <utility>
+
#include "base/file_version_info.h"
#include "base/files/file_path.h"
#include "base/logging.h"
@@ -101,8 +103,8 @@ void VerifyBlacklistLoadState(scoped_ptr<IncidentReceiver> incident_receiver) {
}
// Send the report.
- incident_receiver->AddIncidentForProcess(
- make_scoped_ptr(new BlacklistLoadIncident(blacklist_load.Pass())));
+ incident_receiver->AddIncidentForProcess(make_scoped_ptr(
+ new BlacklistLoadIncident(std::move(blacklist_load))));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698