Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
index c1f9099aa4cf6269c3de013198897f7ace6e5d74..9de54a59868433d3e02ba9cbb3f2877909a6044f 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -1997,22 +1997,6 @@ static CSSValue* consumeFlexBasis(CSSParserTokenRange& range, |
return consumeLengthOrPercent(range, cssParserMode, ValueRangeNonNegative); |
} |
-static CSSValue* consumeStrokeDasharray(CSSParserTokenRange& range) { |
- CSSValueID id = range.peek().id(); |
- if (id == CSSValueNone) |
- return consumeIdent(range); |
- |
- CSSValueList* dashes = CSSValueList::createCommaSeparated(); |
- do { |
- CSSPrimitiveValue* dash = |
- consumeLengthOrPercent(range, SVGAttributeMode, ValueRangeNonNegative); |
- if (!dash || (consumeCommaIncludingWhitespace(range) && range.atEnd())) |
- return nullptr; |
- dashes->append(*dash); |
- } while (!range.atEnd()); |
- return dashes; |
-} |
- |
static CSSValue* consumeBaselineShift(CSSParserTokenRange& range) { |
CSSValueID id = range.peek().id(); |
if (id == CSSValueBaseline || id == CSSValueSub || id == CSSValueSuper) |
@@ -3676,8 +3660,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue( |
case CSSPropertyFlexGrow: |
case CSSPropertyFlexShrink: |
return consumeNumber(m_range, ValueRangeNonNegative); |
- case CSSPropertyStrokeDasharray: |
- return consumeStrokeDasharray(m_range); |
case CSSPropertyColumnRuleWidth: |
return consumeColumnRuleWidth(m_range, m_context.mode()); |
case CSSPropertyStrokeOpacity: |