Index: Source/core/css/StylePropertySerializer.cpp |
diff --git a/Source/core/css/StylePropertySerializer.cpp b/Source/core/css/StylePropertySerializer.cpp |
index e2843e9247ec4d717869be55404e1516cefe6c7b..c33ad619b46071786c898a873e49ddf247e1bdab 100644 |
--- a/Source/core/css/StylePropertySerializer.cpp |
+++ b/Source/core/css/StylePropertySerializer.cpp |
@@ -658,8 +658,8 @@ String StylePropertySerializer::getLayeredShorthandValue(const StylePropertyShor |
if (!value->isPrimitiveValue() || !yValue->isPrimitiveValue()) |
continue; |
- CSSValueID xId = toCSSPrimitiveValue(*value).getValueID(); |
- CSSValueID yId = toCSSPrimitiveValue(*yValue).getValueID(); |
+ CSSValueID xId = toCSSPrimitiveValue(value).getValueID(); |
+ CSSValueID yId = toCSSPrimitiveValue(yValue).getValueID(); |
// Maybe advance propertyIndex to look at the next CSSValue in the list for the checks below. |
if (xId == yId) { |
useSingleWordShorthand = true; |