Remove calc types from CSSPrimitiveValue::UnitType
The calc unit types no longer make too much sense after we have split CSSMathFunctionValue from CSSPrimitiveValue, as: - They complicate UnitType by introducing some entries that are not really unit types - If a client really relies on these calc types, they can refer to CSSMathFunctionValue::Category() instead Hence, this patch removes them for code health. Bug: 979895 Change-Id: I9c8720bd68d64f756a6c4a251f59666350649b29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691554Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#675690}
Showing
Please register or sign in to comment