| Index: components/autofill/content/renderer/form_autofill_util.h
|
| diff --git a/components/autofill/content/renderer/form_autofill_util.h b/components/autofill/content/renderer/form_autofill_util.h
|
| index 9b96302b0665f96522da2326e0c9337021155481..998d5b0459aa90ed6a2a52c8f852df244be56f31 100644
|
| --- a/components/autofill/content/renderer/form_autofill_util.h
|
| +++ b/components/autofill/content/renderer/form_autofill_util.h
|
| @@ -129,13 +129,10 @@ bool IsAutofillableInputElement(const blink::WebInputElement* element);
|
| // {Text, Radiobutton, Checkbox, Select, TextArea}.
|
| bool IsAutofillableElement(const blink::WebFormControlElement& element);
|
|
|
| -// True if this node takes up space in the layout, ie. this node or a descendant
|
| -// has a non-empty bounding bounding client rect.
|
| -//
|
| -// TODO(esprehn): This isn't really about visibility, it's about the size.
|
| -// We should remove this function and just call hasNonEmptyLayoutSize()
|
| -// directly.
|
| -bool IsWebNodeVisible(const blink::WebNode& node);
|
| +// True if this node can take focus. If layout is blocked, then the function
|
| +// checks if the element takes up space in the layout, ie. this element or a
|
| +// descendant has a non-empty bounding bounding client rect.
|
| +bool IsWebElementVisible(const blink::WebElement& element);
|
|
|
| // Returns the form's |name| attribute if non-empty; otherwise the form's |id|
|
| // attribute.
|
|
|