| Index: chrome/browser/ui/passwords/manage_passwords_state.cc
|
| diff --git a/chrome/browser/ui/passwords/manage_passwords_state.cc b/chrome/browser/ui/passwords/manage_passwords_state.cc
|
| index 6d4508cca9fd07e4c65508b76e16e86bc274a4a3..dc8657d9ad4ddd24ad3a43549f21dbb4b9f5878b 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_state.cc
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_state.cc
|
| @@ -229,14 +229,14 @@ void ManagePasswordsState::ChooseCredential(
|
| // cross-origin.
|
| //
|
| // If |credential_type| is local, the credential MIGHT be a PasswordCredential
|
| - // or it MIGHT be a FederatedCredential. We inspect the |federation_url|
|
| + // or it MIGHT be a FederatedCredential. We inspect the |federation_origin|
|
| // field to determine which we should return.
|
| //
|
| // TODO(mkwst): Clean this up. It is confusing.
|
| password_manager::CredentialType type_to_return;
|
| if (credential_type ==
|
| password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD &&
|
| - form.federation_url.is_empty()) {
|
| + form.federation_origin.unique()) {
|
| type_to_return = password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD;
|
| } else if (credential_type ==
|
| password_manager::CredentialType::CREDENTIAL_TYPE_EMPTY) {
|
|
|