Index: components/autofill/content/renderer/password_autofill_agent.cc |
diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc |
index ea8944a26a098cfda0842c0c72e8096fd047d984..3bc6763ed01317b249609274c4cb0109d28e0b56 100644 |
--- a/components/autofill/content/renderer/password_autofill_agent.cc |
+++ b/components/autofill/content/renderer/password_autofill_agent.cc |
@@ -858,7 +858,9 @@ bool PasswordAutofillAgent::ShowSuggestions( |
// is no username or the corresponding username element is not editable since |
// it is only in that case that the username element does not have a |
// suggestions popup. |
- if (element.isPasswordField() && username_is_available) |
+ if (element.isPasswordField() && |
+ !password_info->fill_data.is_password_change_form && |
Garrett Casto
2015/06/09 23:56:22
The more that I think about this, the more that I'
dvadym
2015/06/10 14:22:03
Yeah, I'm also not sure that this is the best appr
Garrett Casto
2015/06/11 00:07:36
That is true. It is already a problem we could hav
dvadym
2015/06/11 12:00:53
No, I didn't notice any sites where it can be a pr
|
+ username_is_available) |
return true; |
// Chrome should never show more than one account for a password element since |