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