From 53b638c0e29ba78448d07695343b7ddfa36c5141 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sun, 30 Oct 2016 19:27:43 +0100 Subject: Update to string-cache 0.3 --- components/script/dom/htmloptionscollection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/htmloptionscollection.rs') diff --git a/components/script/dom/htmloptionscollection.rs b/components/script/dom/htmloptionscollection.rs index 033868f2af8..2e4ce0f9a37 100644 --- a/components/script/dom/htmloptionscollection.rs +++ b/components/script/dom/htmloptionscollection.rs @@ -44,7 +44,7 @@ impl HTMLOptionsCollection { let document = document_from_node(&*root); for _ in 0..count { - let element = HTMLOptionElement::new(atom!("option"), None, &document); + let element = HTMLOptionElement::new(local_name!("option"), None, &document); let node = element.upcast::(); try!(root.AppendChild(node)); }; -- cgit v1.2.3