Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-11-22 21:42:48 +01:00 committed by Martin Robinson
parent 42d9ec1106
commit 5842cfc127

View file

@ -297,13 +297,10 @@ impl Filter {
Err(()) Err(())
} }
}, },
Filter::Url(ref url) => { #[cfg(feature = "gecko")]
if cfg!(feature = "gecko") { Filter::Url(ref url) => Ok(ComputedFilter::Url(ComputedUrl(url.clone()))),
Ok(ComputedFilter::Url(ComputedUrl(url.clone()))) #[cfg(feature = "servo")]
} else { Filter::Url(_) => Err(()),
Err(())
}
},
} }
} }
} }