diff options
Diffstat (limited to 'components/script/dom/htmllegendelement.rs')
-rw-r--r-- | components/script/dom/htmllegendelement.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/htmllegendelement.rs b/components/script/dom/htmllegendelement.rs index a750ef3d2e3..bc99bcec2b1 100644 --- a/components/script/dom/htmllegendelement.rs +++ b/components/script/dom/htmllegendelement.rs @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use dom::bindings::codegen::Bindings::HTMLLegendElementBinding; -use dom::bindings::codegen::InheritTypes::HTMLElementTypeId; use dom::bindings::js::Root; use dom::document::Document; use dom::htmlelement::HTMLElement; @@ -21,7 +20,7 @@ impl HTMLLegendElement { document: &Document) -> HTMLLegendElement { HTMLLegendElement { htmlelement: - HTMLElement::new_inherited(HTMLElementTypeId::HTMLLegendElement, localName, prefix, document) + HTMLElement::new_inherited(localName, prefix, document) } } |