diff options
Diffstat (limited to 'WebCore/html/URLInputType.cpp')
-rw-r--r-- | WebCore/html/URLInputType.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/html/URLInputType.cpp b/WebCore/html/URLInputType.cpp index 517ffad..1b8f3da 100644 --- a/WebCore/html/URLInputType.cpp +++ b/WebCore/html/URLInputType.cpp @@ -32,6 +32,7 @@ #include "URLInputType.h" #include "HTMLInputElement.h" +#include "LocalizedStrings.h" #include "KURL.h" #include <wtf/PassOwnPtr.h> @@ -57,4 +58,9 @@ bool URLInputType::typeMismatch() const return typeMismatchFor(element()->value()); } +String URLInputType::typeMismatchText() const +{ + return validationMessageTypeMismatchForURLText(); +} + } // namespace WebCore |