mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Change SpecifiedUrl::for_cascade to take ServoUrl
This commit is contained in:
parent
56f236724c
commit
fed488cd01
3 changed files with 4 additions and 4 deletions
|
@ -45,7 +45,7 @@ impl Image {
|
|||
|
||||
/// Creates an already specified image value from an already resolved URL
|
||||
/// for insertion in the cascade.
|
||||
pub fn for_cascade(url: Option<ServoUrl>, extra_data: UrlExtraData) -> Self {
|
||||
pub fn for_cascade(url: ServoUrl, extra_data: UrlExtraData) -> Self {
|
||||
Image::Url(SpecifiedUrl::for_cascade(url, extra_data))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue