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 d2cf85dbc71e1ba03109c949f268114110a6463c..c2d4cf644bf2c3025482e7a88b8a1914bc94194d 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -1047,17 +1047,6 @@ static CSSValue* consumeTouchAction(CSSParserTokenRange& range) { |
return list; |
} |
-static CSSPrimitiveValue* consumeLineClamp(CSSParserTokenRange& range) { |
- if (range.peek().type() != PercentageToken && |
- range.peek().type() != NumberToken) |
- return nullptr; |
- CSSPrimitiveValue* clampValue = consumePercent(range, ValueRangeNonNegative); |
- if (clampValue) |
- return clampValue; |
- // When specifying number of lines, don't allow 0 as a valid value. |
- return consumePositiveInteger(range); |
-} |
- |
static CSSValue* consumeLocale(CSSParserTokenRange& range) { |
if (range.peek().id() == CSSValueAuto) |
return consumeIdent(range); |
@@ -3531,8 +3520,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue( |
case CSSPropertyObjectPosition: |
case CSSPropertyPerspectiveOrigin: |
return consumePosition(m_range, m_context.mode(), UnitlessQuirk::Forbid); |
- case CSSPropertyWebkitLineClamp: |
- return consumeLineClamp(m_range); |
case CSSPropertyWebkitFontSizeDelta: |
return consumeLength(m_range, m_context.mode(), ValueRangeAll, |
UnitlessQuirk::Allow); |