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

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

Issue 1181023004: Move rem handling out of CSSParserValues.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another attempt 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/CSSParserValues.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserValuesTest.cpp
diff --git a/Source/core/css/parser/CSSParserValuesTest.cpp b/Source/core/css/parser/CSSParserValuesTest.cpp
index 87b431e703aa1c1390eb599e5ad319485cce9827..546ce851d92d8a3b1fc3e8aa739d1a249044be6d 100644
--- a/Source/core/css/parser/CSSParserValuesTest.cpp
+++ b/Source/core/css/parser/CSSParserValuesTest.cpp
@@ -104,8 +104,7 @@ TEST(CSSParserValuesTest, CSSParserValuelistClear)
TEST(CSSParserValuesTest, CSSParserTokenUrlConversion)
{
CSSTokenizer::Scope scope("url(some) uRL('test') UrL( \"words\" /**/ ) URl( /**/hi/**/ )");
- bool usesRemUnits;
- CSSParserValueList valueList(scope.tokenRange(), usesRemUnits);
+ CSSParserValueList valueList(scope.tokenRange());
ASSERT_EQ(valueList.size(), 4u);
ASSERT_EQ(valueList.valueAt(0)->unit(), CSSPrimitiveValue::UnitType::URI);
EXPECT_EQ(String(valueList.valueAt(0)->string), "some");
« no previous file with comments | « Source/core/css/parser/CSSParserValues.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698