Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index da3b8c95d47e0b3d91a280a20528db2fef5037f7..334d2639a2eb9c57559abcbe04706a9b6fd84062 100644 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -463,7 +463,7 @@ static bool propertyMissingOrEqualToNone(StylePropertySet* style, CSSPropertyID |
return true; |
if (!value->isPrimitiveValue()) |
return false; |
- return static_cast<CSSPrimitiveValue*>(value.get())->getValueID() == CSSValueNone; |
+ return toCSSPrimitiveValue(value.get())->getValueID() == CSSValueNone; |
} |
static bool needInterchangeNewlineAfter(const VisiblePosition& v) |