DescriptionWeb Animations: Assert that convertToLength succeeds instead of returning Length(Undefined)
CSSPrimitiveValue::convertToLength should always match one of the cases
for conversion, so instead of returning Length(Undefined) if we somehow
fail and asserting in the callers we aren't undefined, simply assert we
don't fail.
BUG=322365
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164041
Patch Set 1 #Patch Set 2 : removed some uneeded braces #Patch Set 3 : rebased #
Messages
Total messages: 5 (0 generated)
|