DescriptionCode health: Add type checks to CSSLengthInterpolationType::nonInterpolableValuesAreCompatible()
This change adds type checks to (marginally) improve readability of the
CSS length interpolation code.
The isNonInterpolableValue() helper functions are added along side the
existing toNonInterpolableValue() helper functions also for readability.
Committed: https://crrev.com/ae1576879137a0b96ad64f251f574c5b7efc4eba
Cr-Commit-Position: refs/heads/master@{#416833}
Patch Set 1 #Patch Set 2 : Moar checks #Patch Set 3 : Simplify macro #
Messages
Total messages: 16 (8 generated)
|