| 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 515fb7be6e9d203cb3c80ab3731fee58f2d0557c..8f2e20475ddf8ce70694314b79982de65c72487d 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.cc
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
| @@ -1259,15 +1259,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());
|
| }
|
| }
|
|
|
|
|