summaryrefslogtreecommitdiffstats
path: root/webkit/glue/editor_client_impl.cc
diff options
context:
space:
mode:
authordglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 23:06:12 +0000
committerdglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 23:06:12 +0000
commit10cd3f49ceb4c26d270902bd0ba27cd9b0bb1187 (patch)
tree4f075dfe41c0762e169d47c2c13230c9f9d0f0cc /webkit/glue/editor_client_impl.cc
parenta762c8eed73365dedf4998389702c9c089237de5 (diff)
downloadchromium_src-10cd3f49ceb4c26d270902bd0ba27cd9b0bb1187.zip
chromium_src-10cd3f49ceb4c26d270902bd0ba27cd9b0bb1187.tar.gz
chromium_src-10cd3f49ceb4c26d270902bd0ba27cd9b0bb1187.tar.bz2
WebKit Merge 43361:43371, Chromium side.
R=darin BUG=0 TEST=0 Review URL: http://codereview.chromium.org/113127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r--webkit/glue/editor_client_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc
index 517ad6a..6f952b6 100644
--- a/webkit/glue/editor_client_impl.cc
+++ b/webkit/glue/editor_client_impl.cc
@@ -712,7 +712,7 @@ bool EditorClientImpl::Autofill(WebCore::HTMLInputElement* input_element,
autofill_factory_.RevokeAll();
// Let's try to trigger autofill for that field, if applicable.
- if (!input_element->isEnabled() || !input_element->isTextField() ||
+ if (!input_element->isEnabledFormControl() || !input_element->isTextField() ||
input_element->isPasswordField() || !input_element->autoComplete()) {
return false;
}