DescriptionValueSerializer: Check for no matching ArrayBufferView type being found.
Previously this would result in applying trying to find a size modulo zero,
which causes SIGFPE. This approach was preferred over adding a default case
to preserve the ability of the compiler to detect unhandled switch cases
(within the valid range of the enum).
BUG=chromium:148757
Committed: https://crrev.com/e4cc955780804a98425bc927742bd6a0907ea543
Cr-Commit-Position: refs/heads/master@{#40088}
Patch Set 1 #Patch Set 2 : and a unittest #
Messages
Total messages: 14 (9 generated)
|