diff options
author | Michael Howell <michael@notriddle.com> | 2016-01-01 17:11:10 -0700 |
---|---|---|
committer | Michael Howell <michael@notriddle.com> | 2016-03-24 11:18:54 -0700 |
commit | c9cb4839e42a63120f4fc165b8e569f62fb4be44 (patch) | |
tree | b0fbb76e5e546acb736a7c8df33f7361c5919299 /components/layout/layout_thread.rs | |
parent | f2f05869d6ccd445df9b73e2e8d038c6cfa9e687 (diff) | |
download | servo-c9cb4839e42a63120f4fc165b8e569f62fb4be44.tar.gz servo-c9cb4839e42a63120f4fc165b8e569f62fb4be44.zip |
No more headless compositor. Just the normal one.
This changes headless operation to strictly be a runtime option, rather
than a compile-time one. Note that the old headless version still relied
on a display server to support WebGL, while it now requires one all the
time.
Fixes #8573
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 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, |