diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-11-26 19:59:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 19:59:54 -0500 |
commit | 7824b6d0de146f3a016177d61d2716039169e417 (patch) | |
tree | e84f7f04f322d6054bbafa32bf458c8d91da40e6 /components/script_plugins/lib.rs | |
parent | 609dc3d3ae9cd4d4b175179dc162cbeb4bbbf31f (diff) | |
parent | 9e22804983ab7506f35929e88e59741b7dfb7973 (diff) | |
download | servo-7824b6d0de146f3a016177d61d2716039169e417.tar.gz servo-7824b6d0de146f3a016177d61d2716039169e417.zip |
Auto merge of #27852 - joseph62:fix_memory_profile_crash, r=jdm
Fix memory profile crash
<!-- Please describe your changes on the following line: -->
Added a callback for determining which objects should be included in the memory profiling that was removed by https://github.com/servo/servo/commit/74c1e00d8163f255bb4141ff3549bbdedd7ea766#diff-86033f852232a3ea1cb2f43d2f255850fb6d091c6eeba07213152e13b7006026L219
Also added `is_platform_object_static` that did not require a JSContext to be used in the callback.
---
<!-- 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
- [X] These changes fix #27836 (GitHub issue number if applicable)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
Wasn't sure about tests for these changes. Some direction for that would be great. Thank you!
<!-- 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. -->
Diffstat (limited to 'components/script_plugins/lib.rs')
0 files changed, 0 insertions, 0 deletions