diff options
author | eseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-09 23:40:50 +0000 |
---|---|---|
committer | eseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-09 23:40:50 +0000 |
commit | 3faae0c0329ca109f719a84676386382f3e1ff0a (patch) | |
tree | fb413827ae55b097cca7ad977ada49cf88ccf1c3 /webkit/api/src/EditorClientImpl.cpp | |
parent | 6a0b409cead16ffe8015df1f7cff948f16f4296f (diff) | |
download | chromium_src-3faae0c0329ca109f719a84676386382f3e1ff0a.zip chromium_src-3faae0c0329ca109f719a84676386382f3e1ff0a.tar.gz chromium_src-3faae0c0329ca109f719a84676386382f3e1ff0a.tar.bz2 |
Second batch of style fixes for src/.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/376029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/src/EditorClientImpl.cpp')
-rw-r--r-- | webkit/api/src/EditorClientImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/api/src/EditorClientImpl.cpp b/webkit/api/src/EditorClientImpl.cpp index 77c09fc..d84ce12 100644 --- a/webkit/api/src/EditorClientImpl.cpp +++ b/webkit/api/src/EditorClientImpl.cpp @@ -33,9 +33,9 @@ #include "EventHandler.h" #include "EventNames.h" #include "Frame.h" -#include "KeyboardCodes.h" #include "HTMLInputElement.h" #include "HTMLNames.h" +#include "KeyboardCodes.h" #include "KeyboardEvent.h" #include "PlatformKeyboardEvent.h" #include "PlatformString.h" @@ -707,7 +707,7 @@ bool EditorClientImpl::autofill(HTMLInputElement* inputElement, return false; WebString name = WebKit::nameOfInputElement(inputElement); - if (name.length() == 0) // If the field has no name, then we won't have values. + if (name.isEmpty()) // If the field has no name, then we won't have values. return false; // Don't attempt to autofill with values that are too large. |