mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix warnings in compositing.
This commit is contained in:
parent
26aee53c82
commit
dda12e196b
3 changed files with 11 additions and 6 deletions
|
@ -1084,7 +1084,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
|||
return; // Our message has been discarded, probably shutting down.
|
||||
}
|
||||
|
||||
let mut iter = frame_tree.iter();
|
||||
let iter = frame_tree.iter();
|
||||
for frame in iter {
|
||||
frame.has_compositor_layer.set(true);
|
||||
frame.pipeline.borrow().grant_paint_permission();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue