Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-11-20 19:14:56 +01:00 committed by Martin Robinson
parent 18c701e6b5
commit 0094560541
4 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ impl FilterToWebRender for ComputedFilter {
ComputedFilter::DropShadow(ref shadow) => FilterOp::DropShadow(Shadow {
blur_radius: shadow.blur.px(),
offset: units::LayoutVector2D::new(shadow.horizontal.px(), shadow.vertical.px()),
color: super::rgba(shadow.color.clone().resolve_into_absolute(current_color)),
color: super::rgba(shadow.color.clone().resolve_to_absolute(current_color)),
}),
// Statically check that Url is impossible.
ComputedFilter::Url(ref url) => match *url {},