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 5e523cc87f9d63fe874a51a4436ce2970dda2f96..de2d7aef673effb4a1c5e18a8e1d2579e1fe8509 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -1438,15 +1438,6 @@ static CSSValue* consumeScrollSnapPoints(CSSParserTokenRange& range, |
return nullptr; |
} |
-static CSSValue* consumeClipPath(CSSParserTokenRange& range, |
- const CSSParserContext* context) { |
- if (range.peek().id() == CSSValueNone) |
- return consumeIdent(range); |
- if (CSSURIValue* url = consumeUrl(range, context)) |
- return url; |
- return CSSPropertyShapeUtils::consumeBasicShape(range, context); |
-} |
- |
static CSSValue* consumeContentDistributionOverflowPosition( |
CSSParserTokenRange& range) { |
if (identMatches<CSSValueNormal, CSSValueBaseline, CSSValueLastBaseline>( |
@@ -2573,8 +2564,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue( |
return consumeScrollSnapPoints(m_range, m_context->mode()); |
case CSSPropertyOrder: |
return consumeInteger(m_range); |
- case CSSPropertyClipPath: |
- return consumeClipPath(m_range, m_context); |
case CSSPropertyJustifyContent: |
case CSSPropertyAlignContent: |
ASSERT(RuntimeEnabledFeatures::cssGridLayoutEnabled()); |