mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
remove unused code (#31826)
This commit is contained in:
parent
e22b61c935
commit
3fc157338e
1 changed files with 0 additions and 12 deletions
|
@ -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> {
|
impl ToWebRender for PhysicalSides<Au> {
|
||||||
type Type = units::LayoutSideOffsets;
|
type Type = units::LayoutSideOffsets;
|
||||||
fn to_webrender(&self) -> Self::Type {
|
fn to_webrender(&self) -> Self::Type {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue