Freeze old pipeline in iframes

This commit is contained in:
Paul Rouget 2015-12-08 11:00:57 +01:00
parent f3e921a584
commit e7449d541f

View file

@ -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 // Create the new pipeline, attached to the parent and push to pending frames
let window_size = old_pipeline_id.and_then(|old_pipeline_id| { let window_size = old_pipeline_id.and_then(|old_pipeline_id| {
self.pipeline(old_pipeline_id).size self.pipeline(old_pipeline_id).size