mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Remove unused boolean argument from ContellationMsg's GetPipeline
This commit is contained in:
parent
cb5ceec150
commit
95552c4019
3 changed files with 5 additions and 5 deletions
|
@ -260,7 +260,7 @@ impl Handler {
|
|||
let msg = ConstellationMsg::GetPipeline(frame_id, sender.clone());
|
||||
self.constellation_chan.send(msg).unwrap();
|
||||
// Wait until the document is ready before returning the pipeline id.
|
||||
if let Some((x, true)) = receiver.recv().unwrap() {
|
||||
if let Some(x) = receiver.recv().unwrap() {
|
||||
return Ok(x);
|
||||
}
|
||||
thread::sleep(Duration::from_millis(interval));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue