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..5735157c1c3f905bcc4fd1f6c4a940af29f2fa2a 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -717,28 +717,6 @@ static CSSValue* consumeLineHeight(CSSParserTokenRange& range, |
return consumeLengthOrPercent(range, cssParserMode, ValueRangeNonNegative); |
} |
-static CSSValueList* consumeRotation(CSSParserTokenRange& range) { |
- ASSERT(RuntimeEnabledFeatures::cssIndependentTransformPropertiesEnabled()); |
- CSSValueList* list = CSSValueList::createSpaceSeparated(); |
- |
- for (unsigned i = 0; i < 3; i++) { // 3 dimensions of rotation |
- CSSValue* dimension = consumeNumber(range, ValueRangeAll); |
- if (!dimension) { |
- if (i == 0) |
- break; |
- return nullptr; |
- } |
- list->append(*dimension); |
- } |
- |
- CSSValue* rotation = consumeAngle(range); |
- if (!rotation) |
- return nullptr; |
- list->append(*rotation); |
- |
- return list; |
-} |
- |
static CSSValueList* consumeScale(CSSParserTokenRange& range) { |
ASSERT(RuntimeEnabledFeatures::cssIndependentTransformPropertiesEnabled()); |
@@ -3445,8 +3423,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue( |
return consumeFontSize(m_range, m_context.mode(), UnitlessQuirk::Allow); |
case CSSPropertyLineHeight: |
return consumeLineHeight(m_range, m_context.mode()); |
- case CSSPropertyRotate: |
- return consumeRotation(m_range); |
case CSSPropertyScale: |
return consumeScale(m_range); |
case CSSPropertyWebkitBorderHorizontalSpacing: |