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

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: Rebase Created 5 years, 5 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
« no previous file with comments | « Source/core/css/parser/CSSPropertyParserTest.cpp ('k') | Source/core/css/resolver/AnimatedStyleBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/css/parser/CSSPropertyParserTest.cpp ('k') | Source/core/css/resolver/AnimatedStyleBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698