diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 21:01:15 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 21:01:15 +0000 |
commit | 89916bd485d5c6156030f9f4b62db0cadac87c85 (patch) | |
tree | a9be11fb5a3c62d6aac0005d120c8e4b8c4520c0 | |
parent | e9030d02f2244866304e21126c0cfa4480c28dbb (diff) | |
download | chromium_src-89916bd485d5c6156030f9f4b62db0cadac87c85.zip chromium_src-89916bd485d5c6156030f9f4b62db0cadac87c85.tar.gz chromium_src-89916bd485d5c6156030f9f4b62db0cadac87c85.tar.bz2 |
Remove include to file that does not exist and sign comparison compiler warning.
Review URL: http://codereview.chromium.org/6218
Patch from icefox.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3049 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/glue/SConscript | 2 | ||||
-rw-r--r-- | webkit/glue/password_form_dom_manager.cc | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/SConscript b/webkit/glue/SConscript index edb75e55..edbc8c0 100644 --- a/webkit/glue/SConscript +++ b/webkit/glue/SConscript @@ -22,6 +22,7 @@ input_files = [ 'glue_util.cc', 'image_decoder.cc', 'npruntime_util.cc', + 'password_form_dom_manager.cc', 'webkit_glue.cc', 'weburlrequest_impl.cc', ] @@ -55,7 +56,6 @@ if env['PLATFORM'] == 'win32': 'localized_strings.cc', 'multipart_response_delegate.cc', 'password_autocomplete_listener.cc', - 'password_form_dom_manager.cc', 'plugins/mozilla_extensions.cc', 'plugins/plugin_host.cc', 'plugins/plugin_instance.cc', diff --git a/webkit/glue/password_form_dom_manager.cc b/webkit/glue/password_form_dom_manager.cc index d1e1112..f3a62a0 100644 --- a/webkit/glue/password_form_dom_manager.cc +++ b/webkit/glue/password_form_dom_manager.cc @@ -5,7 +5,6 @@ #include "config.h" #pragma warning(push, 0) -#include "csshelper.h" #include "Document.h" #include "DocumentLoader.h" #include "Frame.h" @@ -25,7 +24,7 @@ // Maximum number of password fields we will observe before throwing our // hands in the air and giving up with a given form. -static const int kMaxPasswords = 3; +static const size_t kMaxPasswords = 3; PasswordForm* PasswordFormDomManager::CreatePasswordForm( WebCore::HTMLFormElement* form) { |