aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllielement.rs
diff options
context:
space:
mode:
authorChristian Poveda <z1mvader@protonmail.com>2017-05-03 10:17:42 -0500
committerChristian Poveda <z1mvader@protonmail.com>2017-05-03 10:17:42 -0500
commit875e422fe67f68bdf57bd3635279e224b0c90996 (patch)
tree46c94c28351d20bd9c92a1c2bd569d6b983ddcf2 /components/script/dom/htmllielement.rs
parent225b505d222e0437a4ac0d6d0f5e5221de9c22e6 (diff)
downloadservo-875e422fe67f68bdf57bd3635279e224b0c90996.tar.gz
servo-875e422fe67f68bdf57bd3635279e224b0c90996.zip
Changed all prefixes from DOMString to the atomic Prefix from html5ever
Diffstat (limited to 'components/script/dom/htmllielement.rs')
-rw-r--r--components/script/dom/htmllielement.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmllielement.rs b/components/script/dom/htmllielement.rs
index aef80a52311..6a39905ae99 100644
--- a/components/script/dom/htmllielement.rs
+++ b/components/script/dom/htmllielement.rs
@@ -12,7 +12,7 @@ use dom::htmlelement::HTMLElement;
use dom::node::Node;
use dom::virtualmethods::VirtualMethods;
use dom_struct::dom_struct;
-use html5ever_atoms::LocalName;
+use html5ever_atoms::{LocalName, Prefix};
use style::attr::AttrValue;
#[dom_struct]
@@ -21,7 +21,7 @@ pub struct HTMLLIElement {
}
impl HTMLLIElement {
- fn new_inherited(local_name: LocalName, prefix: Option<DOMString>, document: &Document) -> HTMLLIElement {
+ fn new_inherited(local_name: LocalName, prefix: Option<Prefix>, document: &Document) -> HTMLLIElement {
HTMLLIElement {
htmlelement: HTMLElement::new_inherited(local_name, prefix, document)
}
@@ -29,7 +29,7 @@ impl HTMLLIElement {
#[allow(unrooted_must_root)]
pub fn new(local_name: LocalName,
- prefix: Option<DOMString>,
+ prefix: Option<Prefix>,
document: &Document) -> Root<HTMLLIElement> {
Node::reflect_node(box HTMLLIElement::new_inherited(local_name, prefix, document),
document,