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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_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/variations_seed_signature_incident_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_unittest.cc
index c94f203715f790ea32d0986e8792ef72de665b38..4e823e47cc009b72af487c4750091ce698440075 100644
--- a/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident_unittest.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_incident.h"
+#include <utility>
+
#include "base/memory/scoped_ptr.h"
#include "chrome/common/safe_browsing/csd.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -25,7 +27,8 @@ scoped_ptr<Incident> MakeIncident(bool alternate) {
"MEUCID+QmAfajh/kk4zZyv0IUisZ84sIddnjiW9yAXjFJIMFAiEAtVUHhFA/4M6Bff2Gaz"
"L7tXVLhURxUQcpiMg9eMLWO0U=");
}
- return make_scoped_ptr(new VariationsSeedSignatureIncident(incident.Pass()));
+ return make_scoped_ptr(
+ new VariationsSeedSignatureIncident(std::move(incident)));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698