mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Change RequestInit origin type to ImmutableOrigin
This commit is contained in:
parent
104e0b4730
commit
6032940fb8
32 changed files with 173 additions and 529 deletions
|
@ -70,7 +70,7 @@ pub fn fetch_image_for_layout(url: ServoUrl,
|
|||
|
||||
let request = FetchRequestInit {
|
||||
url: url,
|
||||
origin: document.url().clone(),
|
||||
origin: document.origin().immutable().clone(),
|
||||
type_: RequestType::Image,
|
||||
pipeline_id: Some(document.global().pipeline_id()),
|
||||
.. FetchRequestInit::default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue