| Index: Source/core/css/parser/CSSParser.cpp
|
| diff --git a/Source/core/css/parser/CSSParser.cpp b/Source/core/css/parser/CSSParser.cpp
|
| index 0c9c2bb2c90614d58c38172e88d69058325b0735..9673f8cd0d82282cec79e8ca8ed79ec40700cd0f 100644
|
| --- a/Source/core/css/parser/CSSParser.cpp
|
| +++ b/Source/core/css/parser/CSSParser.cpp
|
| @@ -136,16 +136,6 @@ bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict)
|
| return true;
|
| }
|
|
|
| -StyleColor CSSParser::colorFromRGBColorString(const String& string)
|
| -{
|
| - // FIXME: Rework css parser so it is more SVG aware.
|
| - RGBA32 color;
|
| - if (parseColor(color, string.stripWhiteSpace()))
|
| - return StyleColor(color);
|
| - // FIXME: This branch catches the string currentColor, but we should error if we have an illegal color value.
|
| - return StyleColor::currentColor();
|
| -}
|
| -
|
| bool CSSParser::parseSystemColor(RGBA32& color, const String& colorString)
|
| {
|
| CSSParserString cssColor;
|
|
|