Index: Source/WebCore/html/NumberInputType.cpp |
=================================================================== |
--- Source/WebCore/html/NumberInputType.cpp (revision 97687) |
+++ Source/WebCore/html/NumberInputType.cpp (working copy) |
@@ -308,7 +308,7 @@ |
return proposedValue.isEmpty() || isfinite(parseLocalizedNumber(proposedValue)) || parseToDoubleForNumberType(proposedValue, 0); |
} |
-String NumberInputType::sanitizeValue(const String& proposedValue) |
+String NumberInputType::sanitizeValue(const String& proposedValue) const |
{ |
if (proposedValue.isEmpty()) |
return proposedValue; |