Index: components/autofill/core/browser/form_structure.h |
diff --git a/components/autofill/core/browser/form_structure.h b/components/autofill/core/browser/form_structure.h |
index 119117aa96df1342dbf1e3a1ec8c57b41d429c15..22347198bb3689dbb2cc3e1be28dae69d4cc47a4 100644 |
--- a/components/autofill/core/browser/form_structure.h |
+++ b/components/autofill/core/browser/form_structure.h |
@@ -76,11 +76,10 @@ class FormStructure { |
static void ParseQueryResponse(const std::string& response_xml, |
const std::vector<FormStructure*>& forms); |
- // Fills |forms| with the details from the given |form_structures| and their |
- // fields' predicted types. |
- static void GetFieldTypePredictions( |
- const std::vector<FormStructure*>& form_structures, |
- std::vector<FormDataPredictions>* forms); |
+ // Returns predictions using the details from the given |form_structures| and |
+ // their fields' predicted types. |
+ static std::vector<FormDataPredictions> GetFieldTypePredictions( |
+ const std::vector<FormStructure*>& form_structures); |
// The unique signature for this form, composed of the target url domain, |
// the form name, and the form field names in a 64-bit hash. |