diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-10-21 17:14:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 17:14:46 -0400 |
commit | 927dfd15bf87566f860a2ab6f4fcb507e83f8b1a (patch) | |
tree | cda55c638865ee441e4180983a8f9d8bc6daadad /components/script/dom/bindings/codegen/parser | |
parent | 61dc04a293a082e4ee54b991bac3d998da63ac82 (diff) | |
parent | 0a07a88904826bdbc641f36f3aa47f17fda6cba3 (diff) | |
download | servo-927dfd15bf87566f860a2ab6f4fcb507e83f8b1a.tar.gz servo-927dfd15bf87566f860a2ab6f4fcb507e83f8b1a.zip |
Auto merge of #24500 - kitlith:style_cfg, r=jdm
Remove usage of opts::get() from style.
<!-- Please describe your changes on the following line: -->
Use `AtomicBool`s to create a global storage for a couple of settings used by an implementation of `Default`, suggested in https://github.com/servo/servo/issues/22854#issuecomment-540955207.
I do have one main question: I'm currently setting these statics in `Servo::new()`, would there be a better place to put this? Same goes with making these `pub`, is there a better way to go about this?
---
<!-- 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
- Seems to be failing in script for unknown/unrelated reasons, experiencing SIGKILL on two different machines. (May be an issue with the latest commit?) Still works fine on CI though.
- [X] `./mach test-tidy` does not report any errors
- [X] These changes help with #22854
These changes do not require tests because these are cleanup changes.
<!-- 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/dom/bindings/codegen/parser')
0 files changed, 0 insertions, 0 deletions