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

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

Issue 1226123008: CSSValue Immediates: Replace CSSPrimitiveValue usage with const references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_4_attempt_2
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/CSSPropertyParser.cpp ('k') | Source/core/css/resolver/CSSToStyleMap.h » ('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 beab3a2692e49d4544c90f24dcc144986d1bee1a..074565d3831a3204abac955c294e19625a8c33fb 100644
--- a/Source/core/css/parser/SizesCalcParserTest.cpp
+++ b/Source/core/css/parser/SizesCalcParserTest.cpp
@@ -35,7 +35,7 @@ static void verifyCSSCalc(String text, double value, bool valid, unsigned fontSi
initLengthArray(lengthArray);
NullableCSSValue cssValue = CSSParser::parseSingleValue(CSSPropertyLeft, text);
if (cssValue)
- toCSSPrimitiveValue(*cssValue).accumulateLengthArray(lengthArray);
+ toCSSPrimitiveValue(cssValue).accumulateLengthArray(lengthArray);
else
ASSERT_EQ(valid, false);
float length = lengthArray.at(CSSPrimitiveValue::UnitTypePixels);
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/css/resolver/CSSToStyleMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698