Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: Source/core/css/parser/SizesCalcParserTest.cpp

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some small fixes to (hopefully) fix some broken tests Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698