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 { } } -impl ToWebRender for PhysicalSides { - 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 { type Type = units::LayoutSideOffsets; fn to_webrender(&self) -> Self::Type {