DCHECK valid unit type in CSSNumericLiteralValue constructor
We should never construct a CSSNumericLiteralValue with kUnknown unit type. This patch ensures that with a DCHECK. Bug: 979895 Change-Id: I690259554857c826a4172b4a0c4c30a41ca67774 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693943 Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#675939}
Showing
Please register or sign in to comment