Index: Source/WebCore/html/TextFieldInputType.cpp |
=================================================================== |
--- Source/WebCore/html/TextFieldInputType.cpp (revision 97687) |
+++ Source/WebCore/html/TextFieldInputType.cpp (working copy) |
@@ -273,7 +273,7 @@ |
return string.left(newLength); |
} |
-String TextFieldInputType::sanitizeValue(const String& proposedValue) |
+String TextFieldInputType::sanitizeValue(const String& proposedValue) const |
{ |
#if ENABLE(WCSS) |
if (!element()->isConformToInputMask(proposedValue)) { |