mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Privatize Window
This commit is contained in:
parent
8825296869
commit
da7590d108
9 changed files with 57 additions and 25 deletions
|
@ -167,7 +167,7 @@ impl Page {
|
|||
if self.damaged.get() {
|
||||
let frame = self.frame();
|
||||
let window = frame.as_ref().unwrap().window.root();
|
||||
self.reflow(goal, window.control_chan.clone(), &*window.compositor);
|
||||
self.reflow(goal, window.control_chan().clone(), window.compositor());
|
||||
} else {
|
||||
self.avoided_reflows.set(self.avoided_reflows.get() + 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue