| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index 30bb6bfd6d40d020ffaee80ce392c8b9f5d53cbc..526dc867a354df4d52f20c2ef4298aae13efd215 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -141,7 +141,7 @@ static bool executeToggleStyleInList(Frame* frame, EditorCommandSource source, E
|
| RefPtr<CSSValue> selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID);
|
| String newStyle = ASCIILiteral("none");
|
| if (selectedCSSValue->isValueList()) {
|
| - RefPtr<CSSValueList> selectedCSSValueList = static_cast<CSSValueList*>(selectedCSSValue.get());
|
| + RefPtr<CSSValueList> selectedCSSValueList = toCSSValueList(selectedCSSValue.get());
|
| if (!selectedCSSValueList->removeAll(value))
|
| selectedCSSValueList->append(value);
|
| if (selectedCSSValueList->length())
|
|
|