diff options
Diffstat (limited to 'WebCore/html/TextFieldInputType.cpp')
-rw-r--r-- | WebCore/html/TextFieldInputType.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/html/TextFieldInputType.cpp b/WebCore/html/TextFieldInputType.cpp index e681b40..82382ef 100644 --- a/WebCore/html/TextFieldInputType.cpp +++ b/WebCore/html/TextFieldInputType.cpp @@ -31,6 +31,8 @@ #include "config.h" #include "TextFieldInputType.h" +#include <wtf/text/WTFString.h> + namespace WebCore { bool TextFieldInputType::isTextField() const @@ -38,4 +40,9 @@ bool TextFieldInputType::isTextField() const return true; } +bool TextFieldInputType::valueMissing(const String& value) const +{ + return value.isEmpty(); +} + } // namespace WebCore |