summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_operations.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-20 23:06:57 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-20 23:06:57 +0000
commitdcda464d91fb97423f5b551babffe786b24ee251 (patch)
tree39c48d6ae9e45dd74a48e22395af68c1128f43e0 /webkit/glue/dom_operations.cc
parentb93568f763472809870ff37735eab7e9cfcdb3c8 (diff)
downloadchromium_src-dcda464d91fb97423f5b551babffe786b24ee251.zip
chromium_src-dcda464d91fb97423f5b551babffe786b24ee251.tar.gz
chromium_src-dcda464d91fb97423f5b551babffe786b24ee251.tar.bz2
Relanding the new autofill.
I rolled it back yesterday, it broke the Linux and Mac builds. TBR=tim Review URL: http://codereview.chromium.org/11543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_operations.cc')
-rw-r--r--webkit/glue/dom_operations.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc
index 6b560c8..a488573 100644
--- a/webkit/glue/dom_operations.cc
+++ b/webkit/glue/dom_operations.cc
@@ -27,10 +27,6 @@ MSVC_PUSH_WARNING_LEVEL(0);
MSVC_POP_WARNING();
#undef LOG
-// Brings in more WebKit headers and #undefs LOG again, so this needs to come
-// first.
-#include "webkit/glue/autocomplete_input_listener.h"
-
#include "base/string_util.h"
#include "webkit/glue/dom_operations.h"
#include "webkit/glue/form_data.h"
@@ -449,7 +445,7 @@ void FillPasswordForm(WebView* view,
static_cast<WebFrameLoaderClient*>(username_element->document()->
frame()->loader()->client());
WebFrameImpl* webframe_impl = frame_loader_client->webframe();
- webframe_impl->GetAutocompleteListener()->AddInputListener(
+ webframe_impl->RegisterPasswordListener(
username_element,
new PasswordAutocompleteListener(
new HTMLInputDelegate(username_element),