summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 00:23:42 +0000
committermal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 00:23:42 +0000
commit852f1e7f42848ed49d07bc5c5dac893d970889f6 (patch)
treef7e72318a8522fb692f7b4649cfd1d072d730d3c
parent74bb829d8cf0881ef75dd7babe8f0243b662a782 (diff)
downloadchromium_src-852f1e7f42848ed49d07bc5c5dac893d970889f6.zip
chromium_src-852f1e7f42848ed49d07bc5c5dac893d970889f6.tar.gz
chromium_src-852f1e7f42848ed49d07bc5c5dac893d970889f6.tar.bz2
Merge 41490 - Patch makes sure that only text fields are saved in Autofill "Web Data" file on disk. This prevent passwords from being saved on disk without user content as part of autofill history.
BUG=36553 TEST=Login on a web site with password field (no autocomplete=off). Check "Web Data" file on disk to see password saved without user content. Review URL: http://codereview.chromium.org/855005 TBR=aarya@google.com Review URL: http://codereview.chromium.org/1123004 git-svn-id: svn://svn.chromium.org/chrome/branches/342/src@42040 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/autocomplete_history_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete_history_manager.cc b/chrome/browser/autocomplete_history_manager.cc
index 781157a..8adfa94 100644
--- a/chrome/browser/autocomplete_history_manager.cc
+++ b/chrome/browser/autocomplete_history_manager.cc
@@ -141,7 +141,7 @@ void AutocompleteHistoryManager::StoreFormEntriesInWebDatabase(
}
profile()->GetWebDataService(Profile::EXPLICIT_ACCESS)->
- AddFormFieldValues(form.elements);
+ AddFormFieldValues(values);
}
void AutocompleteHistoryManager::SendSuggestions(const WDTypedResult* result) {