Rename imm_child_iter() and child_iter(). Fixes #10286

This commit is contained in:
malayaleecoder 2016-03-31 23:50:40 +05:30 committed by Vishnu
parent 84a3dee67e
commit d4dcaf3167
11 changed files with 40 additions and 40 deletions

View file

@ -72,7 +72,7 @@ impl TableWrapperFlow {
}
fn border_padding_and_spacing(&mut self) -> (Au, Au) {
let (mut table_border_padding, mut spacing) = (Au(0), Au(0));
for kid in self.block_flow.base.child_iter() {
for kid in self.block_flow.base.child_iter_mut() {
if kid.is_table() {
let kid_table = kid.as_table();
spacing = kid_table.total_horizontal_spacing();
@ -95,7 +95,7 @@ impl TableWrapperFlow {
// padding will affect where we place the child. This is an odd artifact of the way that
// tables are separated into table flows and table wrapper flows.
let available_inline_size = self.block_flow.fragment.border_box.size.inline;
for kid in self.block_flow.base.child_iter() {
for kid in self.block_flow.base.child_iter_mut() {
if !kid.is_table() {
continue
}
@ -308,7 +308,7 @@ impl Flow for TableWrapperFlow {
fn bubble_inline_sizes(&mut self) {
// Get the intrinsic column inline-sizes info from the table flow.
for kid in self.block_flow.base.child_iter() {
for kid in self.block_flow.base.child_iter_mut() {
debug_assert!(kid.is_table_caption() || kid.is_table());
if kid.is_table() {
self.column_intrinsic_inline_sizes = kid.column_intrinsic_inline_sizes().clone()