diff options
Diffstat (limited to 'components/layout_2020/flexbox/geom.rs')
-rw-r--r-- | components/layout_2020/flexbox/geom.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/components/layout_2020/flexbox/geom.rs b/components/layout_2020/flexbox/geom.rs index ec8f1e3346e..d99682729ed 100644 --- a/components/layout_2020/flexbox/geom.rs +++ b/components/layout_2020/flexbox/geom.rs @@ -63,16 +63,6 @@ impl<T> FlexRelativeSides<T> { cross: self.cross_start + self.cross_end, } } - - // TODO(#29819): Check if this function can be removed after we convert everything to Au. - pub fn map<U>(&self, f: impl Fn(&T) -> U) -> FlexRelativeSides<U> { - FlexRelativeSides { - main_start: f(&self.main_start), - main_end: f(&self.main_end), - cross_start: f(&self.cross_start), - cross_end: f(&self.cross_end), - } - } } /// One of the two bits set by the `flex-direction` property |