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

Unified Diff: ios/chrome/browser/passwords/credential_manager.mm

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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: ios/chrome/browser/passwords/credential_manager.mm
diff --git a/ios/chrome/browser/passwords/credential_manager.mm b/ios/chrome/browser/passwords/credential_manager.mm
index 76261153b96b2389b202041aa73d07713de2ae3f..b1e86fd1577e59f9cb4411ceb458010cc16f3555 100644
--- a/ios/chrome/browser/passwords/credential_manager.mm
+++ b/ios/chrome/browser/passwords/credential_manager.mm
@@ -194,7 +194,7 @@ void CredentialManager::SignedIn(int request_id,
// Store the signed-in credential so that the user can save it, if desired.
// Prompting the user and saving are handled by the PasswordFormManager.
- scoped_ptr<autofill::PasswordForm> form(
+ std::unique_ptr<autofill::PasswordForm> form(
password_manager::CreatePasswordFormFromCredentialInfo(
CredentialInfoFromWebCredential(credential), page_url));
form->skip_zero_click = !IsZeroClickAllowed();
« no previous file with comments | « ios/chrome/browser/passwords/credential_manager.h ('k') | ios/chrome/browser/passwords/ios_chrome_password_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698