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 cf7095038d1d273068007209f0fe23ba98046f6c..1d2c858f829b23c285d0cc013777a8dd69ee9f68 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -1224,14 +1224,6 @@ bool CSSPropertyParser::consumeAnimationShorthand(const StylePropertyShorthand& |
return m_range.atEnd(); |
} |
-static CSSValue* consumeWidowsOrOrphans(CSSParserTokenRange& range) |
-{ |
- // Support for auto is non-standard and for backwards compatibility. |
- if (range.peek().id() == CSSValueAuto) |
- return consumeIdent(range); |
- return consumePositiveInteger(range); |
-} |
- |
static CSSValue* consumeZIndex(CSSParserTokenRange& range) |
{ |
if (range.peek().id() == CSSValueAuto) |
@@ -3574,10 +3566,9 @@ CSSValue* CSSPropertyParser::parseSingleValue(CSSPropertyID unresolvedProperty) |
case CSSPropertyShapeImageThreshold: |
return consumeNumber(m_range, ValueRangeAll); |
case CSSPropertyWebkitBoxOrdinalGroup: |
- return consumePositiveInteger(m_range); |
case CSSPropertyOrphans: |
case CSSPropertyWidows: |
- return consumeWidowsOrOrphans(m_range); |
+ return consumePositiveInteger(m_range); |
case CSSPropertyTextDecorationColor: |
ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); |
return consumeColor(m_range, m_context.mode()); |