From 2e89228cd5d19ca55c8eaaf60e082f072bc5eb0c Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 3 Jul 2015 13:27:23 +0200 Subject: Remove HTMLAnchorElement::handle_event. It is equivalent to the default implementation. --- components/script/dom/htmlanchorelement.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'components/script/dom/htmlanchorelement.rs') 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), -- cgit v1.2.3