diff options
Diffstat (limited to 'components/script/dom/htmldivelement.rs')
-rw-r--r-- | components/script/dom/htmldivelement.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmldivelement.rs b/components/script/dom/htmldivelement.rs index e4d8bf669ef..ea5d8f39f02 100644 --- a/components/script/dom/htmldivelement.rs +++ b/components/script/dom/htmldivelement.rs @@ -9,7 +9,7 @@ use dom::document::Document; use dom::htmlelement::HTMLElement; use dom::node::Node; use dom_struct::dom_struct; -use html5ever_atoms::LocalName; +use html5ever_atoms::{LocalName, Prefix}; #[dom_struct] pub struct HTMLDivElement { @@ -18,7 +18,7 @@ pub struct HTMLDivElement { impl HTMLDivElement { fn new_inherited(local_name: LocalName, - prefix: Option<DOMString>, + prefix: Option<Prefix>, document: &Document) -> HTMLDivElement { HTMLDivElement { htmlelement: HTMLElement::new_inherited(local_name, prefix, document) @@ -27,7 +27,7 @@ impl HTMLDivElement { #[allow(unrooted_must_root)] pub fn new(local_name: LocalName, - prefix: Option<DOMString>, + prefix: Option<Prefix>, document: &Document) -> Root<HTMLDivElement> { Node::reflect_node(box HTMLDivElement::new_inherited(local_name, prefix, document), document, |