diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-05-05 18:23:29 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-05-05 18:23:29 +0200 |
commit | 8b522f2e7d08aaf73429207cbbfd9da915f6d9a5 (patch) | |
tree | c4c7e7247ac5685aa4ec5048187132492b8eb6b9 /components/layout/table.rs | |
parent | 32d5e24922e47322bf67c100fa4c178bc9b430f4 (diff) | |
download | servo-8b522f2e7d08aaf73429207cbbfd9da915f6d9a5.tar.gz servo-8b522f2e7d08aaf73429207cbbfd9da915f6d9a5.zip |
Rename Au methods with f32/f64 instead of frac32/frac/subpx
Diffstat (limited to 'components/layout/table.rs')
-rw-r--r-- | components/layout/table.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table.rs b/components/layout/table.rs index 76b0ad99a6b..72af04817f2 100644 --- a/components/layout/table.rs +++ b/components/layout/table.rs @@ -430,8 +430,8 @@ impl Flow for TableFlow { // if there are any, or among all the columns if all are specified. self.column_computed_inline_sizes.clear(); if num_unspecified_inline_sizes == 0 { - let ratio = content_inline_size.to_frac32_px() / - total_column_inline_size.to_frac32_px(); + let ratio = content_inline_size.to_f32_px() / + total_column_inline_size.to_f32_px(); for column_inline_size in self.column_intrinsic_inline_sizes.iter() { self.column_computed_inline_sizes.push(ColumnComputedInlineSize { size: column_inline_size.minimum_length.scale_by(ratio), |