diff options
author | Fausto Núñez Alberro <fausto.nunez@outlook.com> | 2017-04-26 01:07:31 +0200 |
---|---|---|
committer | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2017-07-16 21:44:33 +0200 |
commit | 6032940fb8723d36c6f5089593d0a57f6a7efc93 (patch) | |
tree | c35b06e617fe52d76b07fd99c06765c688e82637 /components/script/dom/htmlimageelement.rs | |
parent | 104e0b473073340689b4bca5c128c61632d4e58d (diff) | |
download | servo-6032940fb8723d36c6f5089593d0a57f6a7efc93.tar.gz servo-6032940fb8723d36c6f5089593d0a57f6a7efc93.zip |
Change RequestInit origin type to ImmutableOrigin
Diffstat (limited to 'components/script/dom/htmlimageelement.rs')
-rw-r--r-- | components/script/dom/htmlimageelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlimageelement.rs b/components/script/dom/htmlimageelement.rs index 1fc4f6249e0..5d4e6ac0258 100644 --- a/components/script/dom/htmlimageelement.rs +++ b/components/script/dom/htmlimageelement.rs @@ -259,7 +259,7 @@ impl HTMLImageElement { let request = RequestInit { url: img_url.clone(), - origin: document.url().clone(), + origin: document.origin().immutable().clone(), type_: RequestType::Image, pipeline_id: Some(document.global().pipeline_id()), .. RequestInit::default() |