mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
remove option for origin and mirror changes to layout_thread_2020
This commit is contained in:
parent
a5b43b7df1
commit
4a3bf52a7c
7 changed files with 62 additions and 46 deletions
|
@ -88,6 +88,7 @@ impl<'a> LayoutContext<'a> {
|
|||
state: PendingImageState::Unrequested(url),
|
||||
node: node.into(),
|
||||
id: id,
|
||||
origin: self.origin.clone(),
|
||||
};
|
||||
self.pending_images
|
||||
.as_ref()
|
||||
|
@ -108,6 +109,7 @@ impl<'a> LayoutContext<'a> {
|
|||
state: PendingImageState::PendingResponse,
|
||||
node: node.into(),
|
||||
id: id,
|
||||
origin: self.origin.clone(),
|
||||
};
|
||||
pending_images.lock().unwrap().push(image);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue