| Index: chrome/browser/autofill/autofill_manager.cc
|
| ===================================================================
|
| --- chrome/browser/autofill/autofill_manager.cc (revision 58052)
|
| +++ chrome/browser/autofill/autofill_manager.cc (working copy)
|
| @@ -138,6 +138,10 @@
|
| if (tab_contents_->profile()->IsOffTheRecord())
|
| return;
|
|
|
| + // Don't save data that was submitted through JavaScript.
|
| + if (!form.user_submitted)
|
| + return;
|
| +
|
| // Grab a copy of the form data.
|
| upload_form_structure_.reset(new FormStructure(form));
|
|
|
|
|