summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraarya@google.com <aarya@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 21:33:10 +0000
committeraarya@google.com <aarya@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 21:33:10 +0000
commit3eae83e8b5899b30929d0007d04efa4494ff04bc (patch)
treecf3299b8696dc85cbfd8ca03a8fc85dab5e321a9
parent28392c889f7405c25b4a6a175531b37f3330036e (diff)
downloadchromium_src-3eae83e8b5899b30929d0007d04efa4494ff04bc.zip
chromium_src-3eae83e8b5899b30929d0007d04efa4494ff04bc.tar.gz
chromium_src-3eae83e8b5899b30929d0007d04efa4494ff04bc.tar.bz2
Patch makes sure that only text fields are saved in Auto-fill "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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41490 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 c0ea8c4..1643636 100644
--- a/chrome/browser/autocomplete_history_manager.cc
+++ b/chrome/browser/autocomplete_history_manager.cc
@@ -125,7 +125,7 @@ void AutocompleteHistoryManager::StoreFormEntriesInWebDatabase(
}
profile()->GetWebDataService(Profile::EXPLICIT_ACCESS)->
- AddFormFieldValues(form.elements);
+ AddFormFieldValues(values);
}
void AutocompleteHistoryManager::SendSuggestions(const WDTypedResult* result) {