aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index 3325c39e34a..a1a35adfba5 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -124,11 +124,11 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static {
};
let ConstellationChan(ref chan) = constellation_chan;
- chan.send(ConstellationMsg::InitLoadUrl(url));
+ chan.send(ConstellationMsg::InitLoadUrl(url)).unwrap();
}
// Send the constallation Chan as the result
- result_chan.send(constellation_chan);
+ result_chan.send(constellation_chan).unwrap();
});
let constellation_chan = result_port.recv().unwrap();