| Index: chrome/browser/autofill/form_structure.cc
|
| diff --git a/chrome/browser/autofill/form_structure.cc b/chrome/browser/autofill/form_structure.cc
|
| index dd12d3747891a3908cb9d0c9660469880dda6a23..9fb3d630a130cc07e7c3bafeb2f900b5923e9ceb 100644
|
| --- a/chrome/browser/autofill/form_structure.cc
|
| +++ b/chrome/browser/autofill/form_structure.cc
|
| @@ -329,6 +329,9 @@ FormData FormStructure::ConvertToFormData() const {
|
| form.origin = source_url_;
|
| form.action = target_url_;
|
|
|
| + // FormStructures can't be created by forms not submitted by the user.
|
| + form.user_submitted = true;
|
| +
|
| if (method_ == GET)
|
| form.method = ASCIIToUTF16("GET");
|
| else if (method_ == POST)
|
|
|