diff options
author | Pu Xingyu <pu.stshine@gmail.com> | 2016-12-11 04:13:08 +0800 |
---|---|---|
committer | Pu Xingyu <pu.stshine@gmail.com> | 2016-12-12 18:10:36 +0800 |
commit | 07250a7d586744227233c3cc26af4e73bd53b18f (patch) | |
tree | 86defd0f99944fe1965a8cfd33a732d5df5b1535 /components/layout/inline.rs | |
parent | 19a4f8f6c159470d041e4787b13f4dbc649156ad (diff) | |
download | servo-07250a7d586744227233c3cc26af4e73bd53b18f.tar.gz servo-07250a7d586744227233c3cc26af4e73bd53b18f.zip |
Remove unused replaced size calculation methods
Remove some fields and methods from SpecificFragmentInfo and change
some function signatures.
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index 57eb16f1b84..cefb77bb592 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -1394,11 +1394,9 @@ impl Flow for InlineFlow { debug!("assign_block_size_inline: floats in: {:?}", self.base.floats); // Assign the block-size and late-computed inline-sizes for the inline fragments. - let containing_block_block_size = - self.base.block_container_explicit_block_size; for fragment in &mut self.fragments.fragments { fragment.update_late_computed_replaced_inline_size_if_necessary(); - fragment.assign_replaced_block_size_if_necessary(containing_block_block_size); + fragment.assign_replaced_block_size_if_necessary(); } // Reset our state, so that we handle incremental reflow correctly. |