aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllinkelement.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-06-01 14:59:55 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-06-10 20:53:19 +0530
commitd4f428ad9559f7d5f338e565e7f5d5efab70f67f (patch)
treead53686e04d968638481b2da3ee11d073df61436 /components/script/dom/htmllinkelement.rs
parent2cbc8dee25b42c5b0f3c9e34e008ae03a959d247 (diff)
downloadservo-d4f428ad9559f7d5f338e565e7f5d5efab70f67f.tar.gz
servo-d4f428ad9559f7d5f338e565e7f5d5efab70f67f.zip
Abstractify the Listener abstractions further
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r--components/script/dom/htmllinkelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs
index 2b0056a8d65..79b6ed32f0b 100644
--- a/components/script/dom/htmllinkelement.rs
+++ b/components/script/dom/htmllinkelement.rs
@@ -227,7 +227,7 @@ impl HTMLLinkElement {
sender: action_sender,
};
ROUTER.add_route(action_receiver.to_opaque(), box move |message| {
- listener.notify(message.to().unwrap());
+ listener.notify_action(message.to().unwrap());
});
if self.parser_inserted.get() {