aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbaseelement.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/htmlbaseelement.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/htmlbaseelement.rs')
-rw-r--r--components/script/dom/htmlbaseelement.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmlbaseelement.rs b/components/script/dom/htmlbaseelement.rs
index fe34e6d77f0..38c606f17ff 100644
--- a/components/script/dom/htmlbaseelement.rs
+++ b/components/script/dom/htmlbaseelement.rs
@@ -14,7 +14,7 @@ use dom::htmlelement::HTMLElement;
use dom::node::{Node, UnbindContext, document_from_node};
use dom::virtualmethods::VirtualMethods;
use dom_struct::dom_struct;
-use html5ever_atoms::LocalName;
+use html5ever_atoms::{LocalName, Prefix};
use servo_url::ServoUrl;
use style::attr::AttrValue;
@@ -24,7 +24,7 @@ pub struct HTMLBaseElement {
}
impl HTMLBaseElement {
- fn new_inherited(local_name: LocalName, prefix: Option<DOMString>, document: &Document) -> HTMLBaseElement {
+ fn new_inherited(local_name: LocalName, prefix: Option<Prefix>, document: &Document) -> HTMLBaseElement {
HTMLBaseElement {
htmlelement: HTMLElement::new_inherited(local_name, prefix, document)
}
@@ -32,7 +32,7 @@ impl HTMLBaseElement {
#[allow(unrooted_must_root)]
pub fn new(local_name: LocalName,
- prefix: Option<DOMString>,
+ prefix: Option<Prefix>,
document: &Document) -> Root<HTMLBaseElement> {
Node::reflect_node(box HTMLBaseElement::new_inherited(local_name, prefix, document),
document,