diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-23 10:15:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 10:15:41 -0800 |
commit | 56a99577b31a942e340624f97377980b0e612088 (patch) | |
tree | 388a38b9ed2280c1ce9e5aad147315a5cfb586d4 /components/script/dom/htmlheadingelement.rs | |
parent | a780f6f28cf5d0f4faa7ad84822692d9bab1d031 (diff) | |
parent | 4a1dd9fa57da60120c35d4a21a755f72c5cc671c (diff) | |
download | servo-56a99577b31a942e340624f97377980b0e612088.tar.gz servo-56a99577b31a942e340624f97377980b0e612088.zip |
Auto merge of #15535 - froydnj:global-style-thread-pool, r=bholley
geckolib: use a global thread pool for styling
By having a single thread pool, rather than one per document, we use less memory. This addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1324250.
This may be obvious to an experienced Rust programmer, but I went with raw pointers because trying to use `Option` global variables resulted in complaints about turning on feature flags in nightly Rust. Since this is for stylo, nightly features are not appropriate here.
---
<!-- 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
- [ ] These changes do not require tests because _____
<!-- 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/15535)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlheadingelement.rs')
0 files changed, 0 insertions, 0 deletions