aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_cell.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/table_cell.rs')
-rw-r--r--components/layout/table_cell.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/components/layout/table_cell.rs b/components/layout/table_cell.rs
index fea0fb61263..92ce3d98ceb 100644
--- a/components/layout/table_cell.rs
+++ b/components/layout/table_cell.rs
@@ -84,19 +84,19 @@ impl Flow for TableCellFlow {
FlowClass::TableCell
}
- fn as_table_cell<'a>(&'a mut self) -> &'a mut TableCellFlow {
+ fn as_mut_table_cell<'a>(&'a mut self) -> &'a mut TableCellFlow {
self
}
- fn as_immutable_table_cell<'a>(&'a self) -> &'a TableCellFlow {
+ fn as_table_cell<'a>(&'a self) -> &'a TableCellFlow {
self
}
- fn as_block<'a>(&'a mut self) -> &'a mut BlockFlow {
+ fn as_mut_block<'a>(&'a mut self) -> &'a mut BlockFlow {
&mut self.block_flow
}
- fn as_immutable_block(&self) -> &BlockFlow {
+ fn as_block(&self) -> &BlockFlow {
&self.block_flow
}
@@ -354,4 +354,3 @@ impl CollapsedBordersForCell {
*border_styles = logical_border_styles.to_physical(writing_mode);
}
}
-