mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Remove HTMLElement.element().
This commit is contained in:
parent
2502c692f3
commit
106b7a3924
1 changed files with 0 additions and 5 deletions
|
@ -50,11 +50,6 @@ impl HTMLElement {
|
||||||
let element = HTMLElement::new_inherited(HTMLElementTypeId, localName, prefix, document);
|
let element = HTMLElement::new_inherited(HTMLElementTypeId, localName, prefix, document);
|
||||||
Node::reflect_node(box element, document, HTMLElementBinding::Wrap)
|
Node::reflect_node(box element, document, HTMLElementBinding::Wrap)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
pub fn element<'a>(&'a self) -> &'a Element {
|
|
||||||
&self.element
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
trait PrivateHTMLElementHelpers {
|
trait PrivateHTMLElementHelpers {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue