mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Freeze old pipeline in iframes
This commit is contained in:
parent
f3e921a584
commit
e7449d541f
1 changed files with 4 additions and 0 deletions
|
@ -834,6 +834,10 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
|||
}
|
||||
};
|
||||
|
||||
if let Some(pipeline_id) = old_pipeline_id {
|
||||
self.pipeline(pipeline_id).freeze();
|
||||
}
|
||||
|
||||
// Create the new pipeline, attached to the parent and push to pending frames
|
||||
let window_size = old_pipeline_id.and_then(|old_pipeline_id| {
|
||||
self.pipeline(old_pipeline_id).size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue