diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-05-02 11:10:49 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-05-02 19:24:28 +0200 |
commit | 6c518c89b969d1e9a96c3c5b9fe0da6cfc3637d1 (patch) | |
tree | 0b5136db36436d6077ee5470ee1ecbf99c6b4079 /components/script/dom/htmlcollection.rs | |
parent | f284a15e4b442b1beff90b88e9ba6952255f394a (diff) | |
download | servo-6c518c89b969d1e9a96c3c5b9fe0da6cfc3637d1.tar.gz servo-6c518c89b969d1e9a96c3c5b9fe0da6cfc3637d1.zip |
Upgrade to html5ever 0.16
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r-- | components/script/dom/htmlcollection.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs index 4e05de86922..aff4125a29f 100644 --- a/components/script/dom/htmlcollection.rs +++ b/components/script/dom/htmlcollection.rs @@ -14,7 +14,7 @@ use dom::element::Element; use dom::node::Node; use dom::window::Window; use dom_struct::dom_struct; -use html5ever_atoms::{LocalName, QualName}; +use html5ever::{LocalName, QualName}; use servo_atoms::Atom; use std::cell::Cell; use style::str::split_html_space_chars; @@ -164,7 +164,7 @@ impl HTMLCollection { maybe_ns: Option<DOMString>) -> Root<HTMLCollection> { let local = LocalName::from(tag); let ns = namespace_from_domstring(maybe_ns); - let qname = QualName::new(ns, local); + let qname = QualName::new(None, ns, local); HTMLCollection::by_qual_tag_name(window, root, qname) } |