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

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

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/incident_report_uploader_impl_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl_unittest.cc
index f2d338c2d3dabaf0e6b99e9f2f680b3f5e1853f4..da95cdd51e60f2e2e946bf7875175450f0b10c5f 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl_unittest.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.h"
#include <string>
+#include <utility>
#include "base/test/test_simple_task_runner.h"
#include "chrome/common/safe_browsing/csd.pb.h"
@@ -22,7 +23,7 @@ class IncidentReportUploaderImplTest : public testing::Test {
safe_browsing::IncidentReportUploader::Result result,
scoped_ptr<safe_browsing::ClientIncidentResponse> response) {
result_ = result;
- response_ = response.Pass();
+ response_ = std::move(response);
}
protected:

Powered by Google App Engine
This is Rietveld 408576698