diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-07 17:16:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-07 17:16:05 -0800 |
commit | e2b494b1d08b8929ca7e5ae369304f41af81ace2 (patch) | |
tree | dacc7eacbe3d7c0bec4d144e0a1f650f43fd9c18 /components/script/dom/htmliframeelement.rs | |
parent | ec393b89b5b6aad28f5987569c0181b0bfdd965a (diff) | |
parent | 336aa795b4b9933436c9df0200de64e18b6f3b7e (diff) | |
download | servo-e2b494b1d08b8929ca7e5ae369304f41af81ace2.tar.gz servo-e2b494b1d08b8929ca7e5ae369304f41af81ace2.zip |
Auto merge of #15417 - stshine:column-flexbox, r=emilio
layout: Remove cached thread local context from LayoutContext, and use LayoutContext for assign_inline_sizes()
<!-- Please describe your changes on the following line: -->
According to https://github.com/servo/servo/pull/3069 the cached thread local context is introduced for green threads. Now green threads has gone, and the existence of cache force us to create a `LayoutContext`, an `AssignISizes` and an `AssignBSizes` for each flow during parallel layout, so the pull request tries to remove it. And it also switch `assign_inline_sizes()` to accept a `LayoutContext` parameter, as according to my current design we need to do full layout to some flex items for column flexbox during assign isize traversal.
Part of #14123.
---
<!-- 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
- [X] These changes do not require tests because refactoring
<!-- 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/15417)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
0 files changed, 0 insertions, 0 deletions