Remove HTMLAnchorElement::handle_event.

It is equivalent to the default implementation.
This commit is contained in:
Ms2ger 2015-07-03 13:27:23 +02:00
parent eb5fbb6ea2
commit 2e89228cd5

View file

@ -69,15 +69,6 @@ impl<'a> VirtualMethods for &'a HTMLAnchorElement {
Some(htmlelement as &VirtualMethods) 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 { fn parse_plain_attribute(&self, name: &Atom, value: DOMString) -> AttrValue {
match name { match name {
&atom!("rel") => AttrValue::from_serialized_tokenlist(value), &atom!("rel") => AttrValue::from_serialized_tokenlist(value),