diff options
Diffstat (limited to 'src/components/script/dom/htmloptionelement.rs')
-rw-r--r-- | src/components/script/dom/htmloptionelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmloptionelement.rs b/src/components/script/dom/htmloptionelement.rs index 52c5daf8bf9..4f7adb4b845 100644 --- a/src/components/script/dom/htmloptionelement.rs +++ b/src/components/script/dom/htmloptionelement.rs @@ -16,7 +16,7 @@ pub struct HTMLOptionElement { impl HTMLOptionElement { pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLOptionElement { HTMLOptionElement { - htmlelement: HTMLElement::new(HTMLOptionElementTypeId, localName, document) + htmlelement: HTMLElement::new_inherited(HTMLOptionElementTypeId, localName, document) } } |