summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/autofill_manager.cc')
-rw-r--r--chrome/browser/autofill/autofill_manager.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index 718b9a1..0f385de 100644
--- a/chrome/browser/autofill/autofill_manager.cc
+++ b/chrome/browser/autofill/autofill_manager.cc
@@ -299,7 +299,11 @@ void AutoFillManager::DeterminePossibleFieldTypes(
void AutoFillManager::HandleSubmit() {
// If there wasn't enough data to import then we don't want to send an upload
// to the server.
- if (!personal_data_->ImportFormData(form_structures_.get(), this))
+ // TODO(jhawkins): Import form data from |form_structures_|. That will
+ // require querying the FormManager for updated field values.
+ std::vector<FormStructure*> import;
+ import.push_back(upload_form_structure_.get());
+ if (!personal_data_->ImportFormData(import, this))
return;
UploadFormData();