mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Store a Sender<ConstellationControlMsg> in ScriptReflow.
This commit is contained in:
parent
41ac66112a
commit
4f9ec8915d
3 changed files with 5 additions and 6 deletions
|
@ -1197,8 +1197,7 @@ impl LayoutTask {
|
|||
// FIXME(pcwalton): This should probably be *one* channel, but we can't fix this without
|
||||
// either select or a filtered recv() that only looks for messages of a given type.
|
||||
data.script_join_chan.send(()).unwrap();
|
||||
let ScriptControlChan(ref chan) = data.script_chan;
|
||||
chan.send(ConstellationControlMsg::ReflowComplete(self.id, data.id)).unwrap();
|
||||
data.script_chan.send(ConstellationControlMsg::ReflowComplete(self.id, data.id)).unwrap();
|
||||
}
|
||||
|
||||
fn set_visible_rects<'a>(&'a self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue