mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Check for Extra pointer dereferencing. Issue #7640.
This commit is contained in:
parent
37ce248f31
commit
2a99915188
5 changed files with 15 additions and 10 deletions
|
@ -681,7 +681,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
|
||||
fn collect_old_layers(&mut self,
|
||||
pipeline_id: PipelineId,
|
||||
new_layers: &Vec<LayerProperties>) {
|
||||
new_layers: &[LayerProperties]) {
|
||||
let root_layer = match self.scene.root {
|
||||
Some(ref root_layer) => root_layer.clone(),
|
||||
None => return,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue