| 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 cb66f89d99bb1527137d14d51024234d12ff65e1..f083ce62a9ff7cd85080c33fcdf43190ef993569 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.cc
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
| @@ -129,7 +129,7 @@ bool IsUnownedPasswordFormVisible(blink::WebFrame* frame,
|
| const GURL& origin,
|
| const FormData& form_data,
|
| const FormsPredictionsMap& form_predictions) {
|
| - if (!input_element.isNull() && form_util::IsWebNodeVisible(input_element))
|
| + if (!input_element.isNull() && form_util::IsWebElementVisible(input_element))
|
| return true;
|
|
|
| std::unique_ptr<PasswordForm> unowned_password_form(
|
| @@ -202,7 +202,7 @@ bool FindFormInputElement(
|
| if (found_input) {
|
| // For change password form keep only the first password field entry.
|
| if (does_password_field_has_ambigous_or_empty_name) {
|
| - if (!form_util::IsWebNodeVisible((*result)[field_name])) {
|
| + if (!form_util::IsWebElementVisible((*result)[field_name])) {
|
| // If a previously chosen field was invisible then take the current
|
| // one.
|
| (*result)[field_name] = input_element;
|
|
|