| Index: Source/core/css/CSSParser-in.cpp
|
| diff --git a/Source/core/css/CSSParser-in.cpp b/Source/core/css/CSSParser-in.cpp
|
| index 8907000f6087060f6bb068e600e091bfa4c0c538..0519dafc376627deb809570086689d1e226438be 100644
|
| --- a/Source/core/css/CSSParser-in.cpp
|
| +++ b/Source/core/css/CSSParser-in.cpp
|
| @@ -6127,10 +6127,10 @@ bool CSSParser::fastParseColor(RGBA32& rgb, const StringType& name, bool strict)
|
| return true;
|
|
|
| // Try named colors.
|
| - StyleColor color;
|
| - color.setNamedColor(name);
|
| - if (color.isValid()) {
|
| - rgb = color.rgb();
|
| + Color tc;
|
| + tc.setNamedColor(name);
|
| + if (tc.isValid()) {
|
| + rgb = tc.rgb();
|
| return true;
|
| }
|
| return false;
|
|
|