Move CSSPrimitiveValue::GetType() down to CSSNumericLiteralValue
Only CSSNumericLiteralValue sets the |numeric_literal_unit_type_| enum, and is therefore the only clas where |GetType()| makes sense. So this patch moves |GetType()| to the correct place. Bug: 979895 Change-Id: I83a48de866f2ccfdace9eb7b6d48ad4e8e531e5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693949Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#676068}
Showing
Please register or sign in to comment