diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-03-27 21:21:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 21:21:56 -0400 |
commit | 339146ae1566fc35e47ccc4fba1471a9123d039d (patch) | |
tree | f0896fbfdf6d623e6ffc03c28716fef2491d6412 /components/script/serviceworker_manager.rs | |
parent | 97c12bd3927c057d5610b0295f0e8320b64af5e5 (diff) | |
parent | 7f7fc917586fa5ea9c0681f7a479c7ec8ad69019 (diff) | |
download | servo-339146ae1566fc35e47ccc4fba1471a9123d039d.tar.gz servo-339146ae1566fc35e47ccc4fba1471a9123d039d.zip |
Auto merge of #20430 - aeweston98:aew-issue7084, r=jdm
Pass new method in CollectServoSizes to get size of ObjectPrivateVisitor
<!-- Please describe your changes on the following line: -->
These changes are the servo changes to allow the measurement of DOM objects with the ObjectPrivateVisitor API. Two new functions have been added MemoryReporter and get_size, which are passed as function pointers to two updated mozjs functions. Currently these changes rely on a branch version of mozjs, which has an [open pull request](https://github.com/servo/rust-mozjs/pull/409).
---
<!-- 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 #7084 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _____
<!-- 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. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20430)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/serviceworker_manager.rs')
0 files changed, 0 insertions, 0 deletions