mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
880f0bb7ba
`MallocSizeOfOps::enclosing_size_of_op` is an `Option<>` type, and the panic in question is caused by not providing a value in a case where it's needed for measuring a HashSet. HashMaps and HashSets are common enough that it makes sense to make `enclosing_size_of_op` non-optional, which this patch does. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because tests are on the Gecko side. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: bb998dbdf31920d5ddc2a91d6bdfe8a880e11604 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 18ff3083b36733a2a212f094f249b46872b4ec61 |
||
---|---|---|
.. | ||
cef | ||
geckolib | ||
glutin | ||
servo |