Repository navigation
Layout_thread: removed all possible opts::get() - #23515
Merged
Merged
Conversation
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @SimonSapin (or someone else) soon. |
|
Heads up! This PR modifies the following files:
|
Contributor
Author
|
r? @jdm (is it ok if I constantly "r?" you (with this issue)? feels like bugging you all the time hehe). |
Member
|
@bors-servo r+ |
Contributor
|
📌 Commit 810f5ab has been approved by |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Jun 5, 2019
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()`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/components/layout_thread/lib.rs#L1924), which is in turn used by [`lazy_static!`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/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 -->
Contributor
|
💔 Test failed - status-taskcluster |
Contributor
Author
|
@jdm do you think it's the network issue again? PS. From the live logs, Mac OS x64 (WPT Chunk 5 / 6) |
Member
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Jun 5, 2019
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()`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/components/layout_thread/lib.rs#L1924), which is in turn used by [`lazy_static!`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/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 -->
Contributor
|
☀️ Test successful - arm64, linux-rel-css, linux-rel-wpt, status-taskcluster |
6 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removed almost all
opts::get()from components/layout_thread. The untouched one is used byget_ua_stylesheets(), which is in turn used bylazy_static!../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is