aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlanchorelement.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-07-03 13:27:23 +0200
committerMs2ger <ms2ger@gmail.com>2015-07-03 13:27:23 +0200
commit2e89228cd5d19ca55c8eaaf60e082f072bc5eb0c (patch)
tree62563e4bd2f4348b806fd492c1fe2c441ff4dcc3 /components/script/dom/htmlanchorelement.rs
parenteb5fbb6ea26c68fb875da51d57b1c85eeffae43b (diff)
downloadservo-2e89228cd5d19ca55c8eaaf60e082f072bc5eb0c.tar.gz
servo-2e89228cd5d19ca55c8eaaf60e082f072bc5eb0c.zip
Remove HTMLAnchorElement::handle_event.
It is equivalent to the default implementation.
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r--components/script/dom/htmlanchorelement.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs
index 4e749ff6306..c96b13099cf 100644
--- a/components/script/dom/htmlanchorelement.rs
+++ b/components/script/dom/htmlanchorelement.rs
@@ -69,15 +69,6 @@ impl<'a> VirtualMethods for &'a HTMLAnchorElement {
Some(htmlelement as &VirtualMethods)
}
- fn handle_event(&self, event: &Event) {
- match self.super_type() {
- Some(s) => {
- s.handle_event(event);
- }
- None => {}
- }
- }
-
fn parse_plain_attribute(&self, name: &Atom, value: DOMString) -> AttrValue {
match name {
&atom!("rel") => AttrValue::from_serialized_tokenlist(value),