| 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 102617806bc746448b14282e12a8039cbcde657d..2d8f6c9177b394dcded406d730647744d3e3bc09 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.cc
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
| @@ -1278,15 +1278,12 @@ void PasswordAutofillAgent::FillPasswordForm(
|
| element.isPasswordField()
|
| ? element
|
| : web_input_to_password_info_[element].password_field;
|
| - if (FillFormOnPasswordReceived(
|
| - form_data, username_element, password_element,
|
| - &field_value_and_properties_map_,
|
| - base::Bind(&PasswordValueGatekeeper::RegisterElement,
|
| - base::Unretained(&gatekeeper_)),
|
| - logger.get())) {
|
| - if (form_data.show_form_not_secure_warning_on_autofill)
|
| - autofill_agent_->ShowNotSecureWarning(element);
|
| - }
|
| + FillFormOnPasswordReceived(
|
| + form_data, username_element, password_element,
|
| + &field_value_and_properties_map_,
|
| + base::Bind(&PasswordValueGatekeeper::RegisterElement,
|
| + base::Unretained(&gatekeeper_)),
|
| + logger.get());
|
| }
|
| }
|
|
|
|
|