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