summaryrefslogtreecommitdiffstats
path: root/dom/media/MediaDecoder.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-03 04:52:44 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:28:00 +0200
commit68d3bc54fbc9b99310197c51dfd84b6f72b7fb01 (patch)
tree2927417784fafdca735cae1ecc00619cf3ed6254 /dom/media/MediaDecoder.h
parent2109f36dd4a1e04d80ee151b8d5b9c215dfca99a (diff)
downloadUXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar
UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar.gz
UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar.lz
UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar.xz
UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.zip
Issue #1382 - Remove invalid assertion.
There is flexibility in exactly the value the initialized length must hold, i.e. if an array is completely empty, it is valid for the initialized length to be any value between zero and the length of the array, as long as the in-memory values below the initialized length have been initialized with a hole value. In the case of 0, the array is packed and the move operation would be a nop, so simply convert the assert to a condition to save some cycles.
Diffstat (limited to 'dom/media/MediaDecoder.h')
0 files changed, 0 insertions, 0 deletions