diff options
author | Nicholas Nethercote <nnethercote@mozilla.com> | 2017-09-18 13:37:53 +1000 |
---|---|---|
committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2017-09-18 13:37:53 +1000 |
commit | 09143e627b602e34288876d48fc6ef60d5482b21 (patch) | |
tree | b025b08a91faef23612a17c4cf967f634baf8955 /components/script/dom/bindings/codegen | |
parent | 280ccf685d51cdc68d87744921a785392240c774 (diff) | |
download | servo-09143e627b602e34288876d48fc6ef60d5482b21.tar.gz servo-09143e627b602e34288876d48fc6ef60d5482b21.zip |
Fix a panic in Stylo memory reporting.
`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.
Diffstat (limited to 'components/script/dom/bindings/codegen')
0 files changed, 0 insertions, 0 deletions