aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/layout_thread.rs')
-rw-r--r--components/layout/layout_thread.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/layout_thread.rs b/components/layout/layout_thread.rs
index cbad465b4f8..deb01e8f157 100644
--- a/components/layout/layout_thread.rs
+++ b/components/layout/layout_thread.rs
@@ -771,9 +771,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,