aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-11-05 15:45:06 +0100
committerMs2ger <Ms2ger@gmail.com>2015-11-05 15:48:39 +0100
commita01fd7732d3aabcfe8a38d52b82a111dadd3586a (patch)
tree8112e2e283cbe957a89d0d47c43a3558570c3d16 /components/layout/layout_task.rs
parenteb44bdb33ab72b0ba14593a0ddffe3774874fc12 (diff)
downloadservo-a01fd7732d3aabcfe8a38d52b82a111dadd3586a.tar.gz
servo-a01fd7732d3aabcfe8a38d52b82a111dadd3586a.zip
Remove the unused Option around the IpcSender from LayoutToPaintMsg::Exit.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 5394aa178f5..97ffc67f8d2 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -740,7 +740,7 @@ impl LayoutTask {
}
let (response_chan, response_port) = ipc::channel().unwrap();
- self.paint_chan.send(LayoutToPaintMsg::Exit(Some(response_chan), exit_type)).unwrap();
+ self.paint_chan.send(LayoutToPaintMsg::Exit(response_chan, exit_type)).unwrap();
response_port.recv().unwrap()
}