mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
parent
33c4a7a5dc
commit
e9efa60647
2 changed files with 2 additions and 8 deletions
|
@ -381,13 +381,7 @@ impl IOCompositor {
|
|||
self.opts.cpu_painting);
|
||||
new_layer.unrendered_color = unrendered_color;
|
||||
|
||||
let first_child = self.root_layer.first_child.borrow().clone();
|
||||
match first_child {
|
||||
None => {}
|
||||
Some(old_layer) => {
|
||||
ContainerLayer::remove_child(self.root_layer.clone(), old_layer)
|
||||
}
|
||||
}
|
||||
self.root_layer.remove_all_children();
|
||||
|
||||
assert!(new_layer.add_child_if_necessary(self.root_layer.clone(),
|
||||
root_pipeline_id,
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 29a0f4c36292314671778631e336aa845276c733
|
||||
Subproject commit 261bef5849b817df2288f2f7dac5fe8f255a04ab
|
Loading…
Add table
Add a link
Reference in a new issue