Index: third_party/WebKit/Source/core/css/parser/SizesCalcParserTest.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/SizesCalcParserTest.cpp b/third_party/WebKit/Source/core/css/parser/SizesCalcParserTest.cpp |
index c003c73d3a9551ff0053e4b6351eed59de156b4a..bb3f2c39891b3679caad7094fa0f404c0ccd06dd 100644 |
--- a/third_party/WebKit/Source/core/css/parser/SizesCalcParserTest.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/SizesCalcParserTest.cpp |
@@ -23,8 +23,8 @@ struct TestCase { |
static void verifyCSSCalc(String text, double value, bool valid, unsigned fontSize, unsigned viewportWidth, unsigned viewportHeight) |
{ |
CSSLengthArray lengthArray; |
- CSSValue* cssValue = CSSParser::parseSingleValue(CSSPropertyLeft, text); |
- CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(cssValue); |
+ const CSSValue* cssValue = CSSParser::parseSingleValue(CSSPropertyLeft, text); |
+ const CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(cssValue); |
if (primitiveValue) |
primitiveValue->accumulateLengthArray(lengthArray); |
else |