diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-01 18:26:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-01 18:26:20 -0500 |
commit | 1192aaa14d85f8be2f1ec6a1195755bc308f41ed (patch) | |
tree | 8b91ea5aa070a0665b5322f2c024a415f33adddb /components/script/dom/promise.rs | |
parent | 070dee354204711eb085159fb9f234e080d181f4 (diff) | |
parent | 09cbe3bce032a965d613a4ae579a02d86a7c9e51 (diff) | |
download | servo-1192aaa14d85f8be2f1ec6a1195755bc308f41ed.tar.gz servo-1192aaa14d85f8be2f1ec6a1195755bc308f41ed.zip |
Auto merge of #14008 - upsuper:rwlock, r=SimonSapin
Make style::context use parking_lot::RwLock
<!-- Please describe your changes on the following line: -->
The main motivation is to use `parking_lot::RwLock` instead of `sync::RwLock` in `style::context`, so that we can make `Stylesheet` be hold in a `parking_lot::RwLock` like other structs used for geckolib.
r? @SimonSapin
---
<!-- 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/14008)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/promise.rs')
0 files changed, 0 insertions, 0 deletions