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 058d7a97e54975cb0ff8920814f2fee34c6aca7a..79ca6c18242dd181dbf9c29b316bd7284ade7e51 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -469,13 +469,10 @@ static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> consumeLength(CSSParserTokenRan |
case CSSPrimitiveValue::UnitType::Points: |
case CSSPrimitiveValue::UnitType::Picas: |
case CSSPrimitiveValue::UnitType::UserUnits: |
- break; |
case CSSPrimitiveValue::UnitType::ViewportWidth: |
case CSSPrimitiveValue::UnitType::ViewportHeight: |
case CSSPrimitiveValue::UnitType::ViewportMin: |
case CSSPrimitiveValue::UnitType::ViewportMax: |
- if (cssParserMode == SVGAttributeMode) |
- return nullptr; |
break; |
default: |
return nullptr; |