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

Unified Diff: components/password_manager/core/browser/login_database.cc

Issue 1852093002: components/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and revert an accidental .proto change Created 4 years, 9 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: components/password_manager/core/browser/login_database.cc
diff --git a/components/password_manager/core/browser/login_database.cc b/components/password_manager/core/browser/login_database.cc
index 897c155f69428e4f9db186137f7517e864128bff..0cc76ff353d7e289c6516e5d8be8550bb6b9061a 100644
--- a/components/password_manager/core/browser/login_database.cc
+++ b/components/password_manager/core/browser/login_database.cc
@@ -1318,7 +1318,7 @@ bool LoginDatabase::StatementToForms(
forms->clear();
while (statement->Step()) {
- scoped_ptr<PasswordForm> new_form(new PasswordForm());
+ std::unique_ptr<PasswordForm> new_form(new PasswordForm());
EncryptionResult result =
InitPasswordFormFromStatement(new_form.get(), *statement);
if (result == ENCRYPTION_RESULT_SERVICE_FAILURE)

Powered by Google App Engine
This is Rietveld 408576698