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

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

Issue 1870003002: Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments Created 4 years, 8 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/incident.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident.cc b/chrome/browser/safe_browsing/incident_reporting/incident.cc
index ed3fea15d72022b7a499a307bbc493a567cd1166..b2c97ac8f638663071dd398653588672adc1b0fa 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident.cc
@@ -15,7 +15,7 @@ namespace safe_browsing {
Incident::~Incident() {
}
-scoped_ptr<ClientIncidentReport_IncidentData> Incident::TakePayload() {
+std::unique_ptr<ClientIncidentReport_IncidentData> Incident::TakePayload() {
return std::move(payload_);
}

Powered by Google App Engine
This is Rietveld 408576698