diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 02:04:41 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 02:04:41 +0000 |
commit | ddbf30172076500e7b5715201ad7f528f7b3a4d6 (patch) | |
tree | f0c468f70520cbda8ed6f73143a329bf944d68f7 /webkit/glue/dom_operations.cc | |
parent | ac82401483eb837c35ea54402cf10ad2393817c4 (diff) | |
download | chromium_src-ddbf30172076500e7b5715201ad7f528f7b3a4d6.zip chromium_src-ddbf30172076500e7b5715201ad7f528f7b3a4d6.tar.gz chromium_src-ddbf30172076500e7b5715201ad7f528f7b3a4d6.tar.bz2 |
Review URL: http://codereview.chromium.org/11306
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_operations.cc')
-rw-r--r-- | webkit/glue/dom_operations.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc index a488573..6b560c8 100644 --- a/webkit/glue/dom_operations.cc +++ b/webkit/glue/dom_operations.cc @@ -27,6 +27,10 @@ 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" @@ -445,7 +449,7 @@ void FillPasswordForm(WebView* view, static_cast<WebFrameLoaderClient*>(username_element->document()-> frame()->loader()->client()); WebFrameImpl* webframe_impl = frame_loader_client->webframe(); - webframe_impl->RegisterPasswordListener( + webframe_impl->GetAutocompleteListener()->AddInputListener( username_element, new PasswordAutocompleteListener( new HTMLInputDelegate(username_element), |