mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +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
|
@ -3227,14 +3227,14 @@ where
|
|||
},
|
||||
}
|
||||
},
|
||||
AnimationTickType::Layout => {
|
||||
let msg = LayoutControlMsg::TickAnimations;
|
||||
match self.pipelines.get(&pipeline_id) {
|
||||
Some(pipeline) => pipeline.layout_chan.send(msg),
|
||||
None => {
|
||||
return warn!("Pipeline {:?} got layout tick after closure.", pipeline_id);
|
||||
},
|
||||
}
|
||||
AnimationTickType::Layout => match self.pipelines.get(&pipeline_id) {
|
||||
Some(pipeline) => {
|
||||
let msg = LayoutControlMsg::TickAnimations(pipeline.load_data.url.origin());
|
||||
pipeline.layout_chan.send(msg)
|
||||
},
|
||||
None => {
|
||||
return warn!("Pipeline {:?} got layout tick after closure.", pipeline_id);
|
||||
},
|
||||
},
|
||||
};
|
||||
if let Err(e) = result {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue