diff options
Diffstat (limited to 'components/script/dom/htmloptionscollection.rs')
-rw-r--r-- | components/script/dom/htmloptionscollection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmloptionscollection.rs b/components/script/dom/htmloptionscollection.rs index 2a79c83d55e..a4b47a2b49b 100644 --- a/components/script/dom/htmloptionscollection.rs +++ b/components/script/dom/htmloptionscollection.rs @@ -54,7 +54,7 @@ impl HTMLOptionsCollection { let document = document_from_node(&*root); for _ in 0..count { - let element = HTMLOptionElement::new(local_name!("option"), None, &document); + let element = HTMLOptionElement::new(local_name!("option"), None, &document, None); let node = element.upcast::<Node>(); root.AppendChild(node)?; } |