Index: Source/core/css/parser/SizesCalcParserTest.cpp |
diff --git a/Source/core/css/parser/SizesCalcParserTest.cpp b/Source/core/css/parser/SizesCalcParserTest.cpp |
index 8fcd90c3831bf3428a2614d03ca48db1636ef6c0..b1edc32076b1e26d8347bff71bffd663ecfd34e1 100644 |
--- a/Source/core/css/parser/SizesCalcParserTest.cpp |
+++ b/Source/core/css/parser/SizesCalcParserTest.cpp |
@@ -33,8 +33,8 @@ static void verifyCSSCalc(String text, double value, bool valid, unsigned fontSi |
{ |
CSSLengthArray lengthArray; |
initLengthArray(lengthArray); |
- RefPtrWillBeRawPtr<CSSValue> cssValue = CSSParser::parseSingleValue(CSSPropertyLeft, text); |
- CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(cssValue.get()); |
+ NullableCSSValue cssValue = CSSParser::parseSingleValue(CSSPropertyLeft, text); |
+ CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(cssValue); |
if (primitiveValue) |
primitiveValue->accumulateLengthArray(lengthArray); |
else |