Index: Source/core/css/parser/CSSParserValues.cpp |
diff --git a/Source/core/css/parser/CSSParserValues.cpp b/Source/core/css/parser/CSSParserValues.cpp |
index bb8c6c7d2774193789542c688026e1741bdf8123..c8b86885528fb5d8665d7b2857ca975c3ae2b4b2 100644 |
--- a/Source/core/css/parser/CSSParserValues.cpp |
+++ b/Source/core/css/parser/CSSParserValues.cpp |
@@ -32,10 +32,9 @@ namespace blink { |
using namespace WTF; |
-CSSParserValueList::CSSParserValueList(CSSParserTokenRange range, bool& usesRemUnits) |
+CSSParserValueList::CSSParserValueList(CSSParserTokenRange range) |
: m_current(0) |
{ |
- usesRemUnits = false; |
Vector<CSSParserValueList*> stack; |
Vector<int> bracketCounts; |
stack.append(this); |
@@ -140,8 +139,6 @@ CSSParserValueList::CSSParserValueList(CSSParserTokenRange range, bool& usesRemU |
break; |
} |
- if (token.unitType() == CSSPrimitiveValue::UnitType::Rems) |
- usesRemUnits = true; |
// fallthrough |
case NumberToken: |
case PercentageToken: |