Index: components/autofill/content/renderer/form_cache.h |
diff --git a/components/autofill/content/renderer/form_cache.h b/components/autofill/content/renderer/form_cache.h |
index e659492b2e86cd55d7038e36f1f3cfc87e3f7b40..be6b5dd9c98a1cbeb20c3d9576f5e58c586ca14a 100644 |
--- a/components/autofill/content/renderer/form_cache.h |
+++ b/components/autofill/content/renderer/form_cache.h |
@@ -32,15 +32,6 @@ class FormCache { |
FormCache(); |
~FormCache(); |
- // Get all form control elements from |elements| that are not part of a form. |
- // If |fieldsets| is not NULL, also append the fieldsets encountered that are |
- // not part of a form. |
- // Exposed for sharing with tests. |
- static std::vector<blink::WebFormControlElement> |
- GetUnownedAutofillableFormFieldElements( |
- const blink::WebElementCollection& elements, |
- std::vector<blink::WebElement>* fieldsets); |
- |
// Scans the DOM in |frame| extracting and storing forms that have not been |
// seen before. Returns the extracted forms. |
std::vector<FormData> ExtractNewForms(const blink::WebFrame& frame); |