diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-18 02:14:22 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-18 02:14:22 +0530 |
commit | ce2da28a00036e614cee211f4b279dc8e7eac9c1 (patch) | |
tree | 6b71f9e816e965ab0ed5fe080d3d70de3d9ee69c /components/layout/traversal.rs | |
parent | 0008c07dc343d911be042516b32c994fc18e3900 (diff) | |
parent | 57df260f9d5ce998991bfc2cee665db7f5abf353 (diff) | |
download | servo-ce2da28a00036e614cee211f4b279dc8e7eac9c1.tar.gz servo-ce2da28a00036e614cee211f4b279dc8e7eac9c1.zip |
Auto merge of #10061 - DavidBM:clean_code_removing_overflow_in_assign_bsizes, r=Manishearth
Remove overflow references on AssignBSizesAndStoreOverflow code
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10061)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r-- | components/layout/traversal.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs index 0fa45ff67b7..f9ecf833cdd 100644 --- a/components/layout/traversal.rs +++ b/components/layout/traversal.rs @@ -172,15 +172,14 @@ impl<'a> PreorderFlowTraversal for AssignISizes<'a> { } /// The assign-block-sizes-and-store-overflow traversal, the last (and most expensive) part of -/// layout computation. Determines the final block-sizes for all layout objects, computes -/// positions, and computes overflow regions. In Gecko this corresponds to `Reflow` and -/// `FinishAndStoreOverflow`. +/// layout computation. Determines the final block-sizes for all layout objects and computes +/// positions. In Gecko this corresponds to `Reflow`. #[derive(Copy, Clone)] -pub struct AssignBSizesAndStoreOverflow<'a> { +pub struct AssignBSizes<'a> { pub layout_context: &'a LayoutContext<'a>, } -impl<'a> PostorderFlowTraversal for AssignBSizesAndStoreOverflow<'a> { +impl<'a> PostorderFlowTraversal for AssignBSizes<'a> { #[inline] fn process(&self, flow: &mut Flow) { // Can't do anything with flows impacted by floats until we reach their inorder parent. |