mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
auto merge of #4676 : glennw/servo/iframe-src-fix, r=mrobinson
This commit is contained in:
commit
0c87faae64
1 changed files with 3 additions and 0 deletions
|
@ -555,6 +555,9 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
root_layer.clear_all_tiles(self);
|
||||
root_layer.children().clear();
|
||||
|
||||
debug_assert!(root_layer.extra_data.borrow().pipeline_id == old_pipeline.id);
|
||||
root_layer.extra_data.borrow_mut().pipeline_id = new_pipeline.id;
|
||||
|
||||
let new_pipeline_id = new_pipeline.id;
|
||||
self.get_or_create_pipeline_details(new_pipeline_id).pipeline = Some(new_pipeline);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue