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

Unified Diff: chrome/browser/autofill/risk_util.cc

Issue 1857663002: chrome/browser/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/autofill/risk_util.cc
diff --git a/chrome/browser/autofill/risk_util.cc b/chrome/browser/autofill/risk_util.cc
index 149b11a6f4322e1f1f3042deeb39502be3a3265a..c821fa576632cc596dca9530380db8c0dcb12e10 100644
--- a/chrome/browser/autofill/risk_util.cc
+++ b/chrome/browser/autofill/risk_util.cc
@@ -34,7 +34,7 @@ namespace autofill {
namespace {
void PassRiskData(const base::Callback<void(const std::string&)>& callback,
- scoped_ptr<risk::Fingerprint> fingerprint) {
+ std::unique_ptr<risk::Fingerprint> fingerprint) {
std::string proto_data, risk_data;
fingerprint->SerializeToString(&proto_data);
base::Base64Encode(proto_data, &risk_data);

Powered by Google App Engine
This is Rietveld 408576698