Index: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
index 79a5db7d3dc98e9a934de6af2e47be51cf85064f..daf52db50a3378d5c5080df21a7f66c802f97f41 100644 |
--- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp |
@@ -341,25 +341,6 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::legacyParseValue(CSSProperty |
bool CSSPropertyParser::legacyParseShorthand(CSSPropertyID propertyID, bool important) |
{ |
switch (propertyID) { |
- case CSSPropertyBackgroundPosition: |
- case CSSPropertyBackgroundRepeat: |
- case CSSPropertyWebkitMaskPosition: |
- case CSSPropertyWebkitMaskRepeat: { |
- RefPtrWillBeRawPtr<CSSValue> val1 = nullptr; |
- RefPtrWillBeRawPtr<CSSValue> val2 = nullptr; |
- CSSPropertyID propId1, propId2; |
- if (parseFillProperty(propertyID, propId1, propId2, val1, val2)) { |
- ShorthandScope scope(this, propertyID); |
- addProperty(propId1, val1.release(), important); |
- if (val2) |
- addProperty(propId2, val2.release(), important); |
- m_implicitShorthand = false; |
- return true; |
- } |
- m_implicitShorthand = false; |
- return true; |
- } |
- |
case CSSPropertyGridGap: |
ASSERT(RuntimeEnabledFeatures::cssGridLayoutEnabled()); |
return parseGridGapShorthand(important); |