remove unused code (#31826)

This commit is contained in:
atbrakhi 2024-03-23 09:55:52 +05:30 committed by GitHub
parent e22b61c935
commit 3fc157338e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {