Change SpecifiedUrl::for_cascade to take ServoUrl

This commit is contained in:
Xidorn Quan 2016-12-21 10:14:04 +11:00
parent 56f236724c
commit fed488cd01
3 changed files with 4 additions and 4 deletions

View file

@ -397,7 +397,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
PropertyDeclaration::BackgroundImage(DeclaredValue::Value(
background_image::SpecifiedValue(vec![
background_image::single_value::SpecifiedValue(Some(
specified::Image::for_cascade(Some(url.into()), specified::url::UrlExtraData { })
specified::Image::for_cascade(url.into(), specified::url::UrlExtraData { })
))
])))));
}