aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/layout_2020/display_list/conversions.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/components/layout_2020/display_list/conversions.rs b/components/layout_2020/display_list/conversions.rs
index dac7e40ed92..b5e7dd2a898 100644
--- a/components/layout_2020/display_list/conversions.rs
+++ b/components/layout_2020/display_list/conversions.rs
@@ -128,18 +128,6 @@ impl ToWebRender for PhysicalRect<Au> {
}
}
-impl ToWebRender for PhysicalSides<Length> {
- type Type = units::LayoutSideOffsets;
- fn to_webrender(&self) -> Self::Type {
- units::LayoutSideOffsets::new(
- self.top.px(),
- self.right.px(),
- self.bottom.px(),
- self.left.px(),
- )
- }
-}
-
impl ToWebRender for PhysicalSides<Au> {
type Type = units::LayoutSideOffsets;
fn to_webrender(&self) -> Self::Type {