| Index: Source/core/css/parser/BisonCSSParser-in.cpp
|
| diff --git a/Source/core/css/parser/BisonCSSParser-in.cpp b/Source/core/css/parser/BisonCSSParser-in.cpp
|
| index a61ac69232619e0e456aa09820fd540f5f031faf..022c07e1831700fb36d38b0198e9c2a5de3bf986 100644
|
| --- a/Source/core/css/parser/BisonCSSParser-in.cpp
|
| +++ b/Source/core/css/parser/BisonCSSParser-in.cpp
|
| @@ -1202,12 +1202,6 @@ bool BisonCSSParser::parseColor(const String& string)
|
| return !m_parsedProperties.isEmpty() && m_parsedProperties.first().id() == CSSPropertyColor;
|
| }
|
|
|
| -// FIXME: This is copied from SVGCSSParser.cpp
|
| -static bool isSystemColor(int id)
|
| -{
|
| - return (id >= CSSValueActiveborder && id <= CSSValueWindowtext) || id == CSSValueMenu;
|
| -}
|
| -
|
| bool BisonCSSParser::parseSystemColor(RGBA32& color, const String& string, Document* document)
|
| {
|
| if (!document)
|
| @@ -1216,7 +1210,7 @@ bool BisonCSSParser::parseSystemColor(RGBA32& color, const String& string, Docum
|
| CSSParserString cssColor;
|
| cssColor.init(string);
|
| CSSValueID id = cssValueKeywordID(cssColor);
|
| - if (!isSystemColor(id))
|
| + if (!CSSPropertyParser::isSystemColor(id))
|
| return false;
|
|
|
| Color parsedColor = RenderTheme::theme().systemColor(id);
|
|
|