mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
babba9b13b
In nsFrame::ComputeSize and nsFrame::ComputeSizeWithIntrinsicDimensions, the following expressions isFlexItem && usingFlexBasisForISize isFlexItem && !usingFlexBasisForISize are sometimes compiled by recent gcc/clang in the opposite order, viz [!]usingFlexBasisForISize && isFlexItem. In this case the transformation is correct as can be seen by analysing code earlier in these functions. Unfortunately this causes Valgrind/Memcheck to report a branch on undefined data which, in this case, is a false positive. A simple fix is simply to initialise usingFlexBasisForISize to false at its declaration point. --HG-- extra : rebase_source : 39877e4ea8ec678288e6b49af120445c96ef8c0a |
||
---|---|---|
.. | ||
__init__.py | ||
cross-architecture.sup | ||
i386-pc-linux-gnu.sup | ||
mach_commands.py | ||
output_handler.py | ||
x86_64-pc-linux-gnu.sup |