| Index: Source/WebCore/html/ColorInputType.cpp
|
| ===================================================================
|
| --- Source/WebCore/html/ColorInputType.cpp (revision 97687)
|
| +++ Source/WebCore/html/ColorInputType.cpp (working copy)
|
| @@ -89,11 +89,8 @@
|
| return String("#000000");
|
| }
|
|
|
| -String ColorInputType::sanitizeValue(const String& proposedValue)
|
| +String ColorInputType::sanitizeValue(const String& proposedValue) const
|
| {
|
| - if (proposedValue.isNull())
|
| - return proposedValue;
|
| -
|
| if (!isValidColorString(proposedValue))
|
| return fallbackValue();
|
|
|
|
|