diff --git a/components/compositing/constellation.rs b/components/compositing/constellation.rs index c876e6e7a4d..131dfbd9e1d 100644 --- a/components/compositing/constellation.rs +++ b/components/compositing/constellation.rs @@ -834,6 +834,10 @@ impl Constellation { } }; + 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