| Index: ios/chrome/browser/passwords/password_controller.mm
|
| diff --git a/ios/chrome/browser/passwords/password_controller.mm b/ios/chrome/browser/passwords/password_controller.mm
|
| index 9b7c5854ba477788ef4a313d3771e48524f94038..c4738b02f2e3bbb0928c134fb5917e0d603425ad 100644
|
| --- a/ios/chrome/browser/passwords/password_controller.mm
|
| +++ b/ios/chrome/browser/passwords/password_controller.mm
|
| @@ -314,7 +314,8 @@ bool GetPageURLAndCheckTrustLevel(web::WebState* web_state, GURL* page_url) {
|
| // InitPasswordFormFillData() that the preferred match (3rd parameter)
|
| // should be one of the |matches|.
|
| auto scoped_form = make_scoped_ptr(new autofill::PasswordForm(form));
|
| - matches.insert(std::make_pair(form.username_value, scoped_form.Pass()));
|
| + matches.insert(
|
| + std::make_pair(form.username_value, std::move(scoped_form)));
|
| autofill::InitPasswordFormFillData(form, matches, &form, false, false,
|
| &formData);
|
| [self fillPasswordForm:formData
|
|
|