Remove HTMLElement.element().

This commit is contained in:
Tetsuharu OHZEKI 2014-11-28 06:02:03 +09:00
parent 2502c692f3
commit 106b7a3924

View file

@ -50,11 +50,6 @@ impl HTMLElement {
let element = HTMLElement::new_inherited(HTMLElementTypeId, localName, prefix, document);
Node::reflect_node(box element, document, HTMLElementBinding::Wrap)
}
#[inline]
pub fn element<'a>(&'a self) -> &'a Element {
&self.element
}
}
trait PrivateHTMLElementHelpers {