aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllielement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmllielement.rs')
-rw-r--r--components/script/dom/htmllielement.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/htmllielement.rs b/components/script/dom/htmllielement.rs
index 85a76d553c4..00a99791b8f 100644
--- a/components/script/dom/htmllielement.rs
+++ b/components/script/dom/htmllielement.rs
@@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::codegen::Bindings::HTMLLIElementBinding;
-use dom::bindings::codegen::InheritTypes::HTMLElementTypeId;
use dom::bindings::js::Root;
use dom::document::Document;
use dom::htmlelement::HTMLElement;
@@ -18,7 +17,7 @@ pub struct HTMLLIElement {
impl HTMLLIElement {
fn new_inherited(localName: DOMString, prefix: Option<DOMString>, document: &Document) -> HTMLLIElement {
HTMLLIElement {
- htmlelement: HTMLElement::new_inherited(HTMLElementTypeId::HTMLLIElement, localName, prefix, document)
+ htmlelement: HTMLElement::new_inherited(localName, prefix, document)
}
}