diff options
Diffstat (limited to 'components/layout/layout_thread.rs')
-rw-r--r-- | components/layout/layout_thread.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/layout_thread.rs b/components/layout/layout_thread.rs index e6412348e6c..6e8ab8635f9 100644 --- a/components/layout/layout_thread.rs +++ b/components/layout/layout_thread.rs @@ -777,9 +777,7 @@ impl LayoutThread { traversal.shutdown() } - let (response_chan, response_port) = ipc::channel().unwrap(); - self.paint_chan.send(LayoutToPaintMsg::Exit(response_chan)).unwrap(); - response_port.recv().unwrap() + self.paint_chan.send(LayoutToPaintMsg::Exit).unwrap(); } fn handle_add_stylesheet<'a, 'b>(&self, |