Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/CSSValueIDMappings.h |
| diff --git a/third_party/WebKit/Source/core/css/CSSValueIDMappings.h b/third_party/WebKit/Source/core/css/CSSValueIDMappings.h |
| index 260e779c2bc8fc82e486da986609983035c55089..9b52d6a4968e86214f7a070003f0555a49c5b0a8 100644 |
| --- a/third_party/WebKit/Source/core/css/CSSValueIDMappings.h |
| +++ b/third_party/WebKit/Source/core/css/CSSValueIDMappings.h |
| @@ -34,6 +34,13 @@ inline UnicodeBidi CssValueIDToPlatformEnum(CSSValueID v) { |
| } |
| template <> |
| +inline ETextCombine CssValueIDToPlatformEnum(CSSValueID v) { |
| + if (v == CSSValueHorizontal) |
|
shend
2017/05/31 07:53:11
nit: keep the comment from the original code.
nainar
2017/05/31 08:24:40
Done.
|
| + return ETextCombine::kAll; |
| + return detail::cssValueIDToPlatformEnumGenerated<ETextCombine>(v); |
| +} |
| + |
| +template <> |
| inline ETextAlign CssValueIDToPlatformEnum(CSSValueID v) { |
| if (v == CSSValueWebkitAuto) // Legacy -webkit-auto. Eqiuvalent to start. |
| return ETextAlign::kStart; |