aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbodyelement.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-04-29 14:55:38 +0200
committerMs2ger <Ms2ger@gmail.com>2016-04-29 14:55:52 +0200
commit897be5f6eefeaf0620460215b340e8a5b2c0fc95 (patch)
tree1f27cbb03ca111530f13916634e15fae635bcfec /components/script/dom/htmlbodyelement.rs
parent207be7d2e23788197c175d7d0b5f172551251626 (diff)
downloadservo-897be5f6eefeaf0620460215b340e8a5b2c0fc95.tar.gz
servo-897be5f6eefeaf0620460215b340e8a5b2c0fc95.zip
Reduce channel cloning.
Diffstat (limited to 'components/script/dom/htmlbodyelement.rs')
-rw-r--r--components/script/dom/htmlbodyelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlbodyelement.rs b/components/script/dom/htmlbodyelement.rs
index ca133b88dbb..1c65a1f609f 100644
--- a/components/script/dom/htmlbodyelement.rs
+++ b/components/script/dom/htmlbodyelement.rs
@@ -154,7 +154,7 @@ impl VirtualMethods for HTMLBodyElement {
let window = window_from_node(self);
let document = window.Document();
document.set_reflow_timeout(time::precise_time_ns() + INITIAL_REFLOW_DELAY);
- let ConstellationChan(ref chan) = window.constellation_chan();
+ let ConstellationChan(ref chan) = *window.constellation_chan();
let event = ConstellationMsg::HeadParsed;
chan.send(event).unwrap();
}