summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/form_structure.cc
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 19:45:34 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 19:45:34 +0000
commitb148888f20d41d28bdbc1df61d1e47b0f021041c (patch)
tree25dc2f2240d6affdb0697a998f27c4572ef1357d /chrome/browser/autofill/form_structure.cc
parent9d063448acfc3597619e9523c762a79f88165c1d (diff)
downloadchromium_src-b148888f20d41d28bdbc1df61d1e47b0f021041c.zip
chromium_src-b148888f20d41d28bdbc1df61d1e47b0f021041c.tar.gz
chromium_src-b148888f20d41d28bdbc1df61d1e47b0f021041c.tar.bz2
Match FormStructure DCHECK to AutoFillManager's check in OnFormSubmitted()
BUG=70883 TEST=none Review URL: http://codereview.chromium.org/6273015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/form_structure.cc')
-rw-r--r--chrome/browser/autofill/form_structure.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/form_structure.cc b/chrome/browser/autofill/form_structure.cc
index 4367e66..da39993 100644
--- a/chrome/browser/autofill/form_structure.cc
+++ b/chrome/browser/autofill/form_structure.cc
@@ -108,7 +108,7 @@ bool FormStructure::EncodeUploadRequest(bool auto_fill_used,
std::string* encoded_xml) const {
DCHECK(encoded_xml);
encoded_xml->clear();
- bool auto_fillable = IsAutoFillable(false);
+ bool auto_fillable = ShouldBeParsed(true);
DCHECK(auto_fillable); // Caller should've checked for search pages.
if (!auto_fillable)
return false;