mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Auto merge of #23515 - oneturkmen:layout-thread-remove-opts-get, r=jdm
Layout_thread: removed all possible opts::get() <!-- Please describe your changes on the following line: --> Removed almost all `opts::get()` from components/layout_thread. The untouched one is used by [`get_ua_stylesheets()`](2ad3066d7c/components/layout_thread/lib.rs (L1924)
), which is in turn used by [`lazy_static!`](2ad3066d7c/components/layout_thread/lib.rs (L1998)
). --- <!-- 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 *partially* #22854 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because these are cleanup changes which neither add any feature, nor fix any bug. <!-- 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/23515) <!-- Reviewable:end -->
This commit is contained in:
commit
ced2668c6c
6 changed files with 137 additions and 15 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2395,6 +2395,7 @@ name = "layout_traits"
|
|||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"euclid 0.19.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gfx 0.0.1",
|
||||
"ipc-channel 0.11.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"metrics 0.0.1",
|
||||
|
@ -2402,6 +2403,7 @@ dependencies = [
|
|||
"net_traits 0.0.1",
|
||||
"profile_traits 0.0.1",
|
||||
"script_traits 0.0.1",
|
||||
"servo_geometry 0.0.1",
|
||||
"servo_url 0.0.1",
|
||||
"webrender_api 0.60.0 (git+https://github.com/servo/webrender)",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue