| Index: Source/core/css/CSSParser-in.cpp
|
| diff --git a/Source/core/css/CSSParser-in.cpp b/Source/core/css/CSSParser-in.cpp
|
| index 70e52b4e6cee77bfab2cd116094c4a1d0c4db770..6d488057a4e092d7ed4c1d009bb61710bd34276d 100644
|
| --- a/Source/core/css/CSSParser-in.cpp
|
| +++ b/Source/core/css/CSSParser-in.cpp
|
| @@ -1356,7 +1356,7 @@ static inline void filterProperties(bool important, const CSSParser::ParsedPrope
|
| if (property.isImportant() != important)
|
| continue;
|
| if (property.id() == CSSPropertyVariable) {
|
| - const AtomicString& name = static_cast<CSSVariableValue*>(property.value())->name();
|
| + const AtomicString& name = toCSSVariableValue(property.value())->name();
|
| if (!seenVariables.add(name).isNewEntry)
|
| continue;
|
| output[--unusedEntries] = property;
|
|
|