| Index: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
|
| diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
|
| index f2ca431301617eb332e0f2f16bdda57b137b13a2..47f1f98b55d2a6920b707f67b855009d24007da9 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
|
| @@ -1479,41 +1479,6 @@ inline TextEmphasisMark CSSIdentifierValue::ConvertTo() const {
|
| }
|
|
|
| template <>
|
| -inline CSSIdentifierValue::CSSIdentifierValue(TextOrientation e)
|
| - : CSSValue(kIdentifierClass) {
|
| - switch (e) {
|
| - case TextOrientation::kSideways:
|
| - value_id_ = CSSValueSideways;
|
| - break;
|
| - case TextOrientation::kMixed:
|
| - value_id_ = CSSValueMixed;
|
| - break;
|
| - case TextOrientation::kUpright:
|
| - value_id_ = CSSValueUpright;
|
| - break;
|
| - }
|
| -}
|
| -
|
| -template <>
|
| -inline TextOrientation CSSIdentifierValue::ConvertTo() const {
|
| - switch (value_id_) {
|
| - case CSSValueSideways:
|
| - case CSSValueSidewaysRight:
|
| - return TextOrientation::kSideways;
|
| - case CSSValueMixed:
|
| - case CSSValueVerticalRight: // -webkit-text-orientation
|
| - return TextOrientation::kMixed;
|
| - case CSSValueUpright:
|
| - return TextOrientation::kUpright;
|
| - default:
|
| - break;
|
| - }
|
| -
|
| - NOTREACHED();
|
| - return TextOrientation::kMixed;
|
| -}
|
| -
|
| -template <>
|
| inline CSSIdentifierValue::CSSIdentifierValue(FontDescription::Kerning kerning)
|
| : CSSValue(kIdentifierClass) {
|
| switch (kerning) {
|
|
|