Avoid length array conversion in CSSTransformInterpolationType
Currently, CSSTransformInterpolationType calls AccumulateLengthArray() only to obtain the length unit types involved in a <length> value, which is an overkill. Hence, this patch changes it into obtaining the types only. This also unblocks the code from working on <length> values involving min/max, as these values cannot be converted into a length array. Bug: 991672 Change-Id: Ib2865be502e2306fdbf2e1b5f4bafe26047ed5bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775424Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Alan Cutter <alancutter@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#691864}
Showing
Please register or sign in to comment