aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmloptionelement.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/htmloptionelement.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/htmloptionelement.rs')
-rw-r--r--components/script/dom/htmloptionelement.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs
index e54b9b563e4..0db31d89240 100644
--- a/components/script/dom/htmloptionelement.rs
+++ b/components/script/dom/htmloptionelement.rs
@@ -23,7 +23,7 @@ use dom::node::{Node, UnbindContext};
use dom::text::Text;
use dom::virtualmethods::VirtualMethods;
use dom_struct::dom_struct;
-use html5ever_atoms::LocalName;
+use html5ever_atoms::{LocalName, Prefix};
use std::cell::Cell;
use style::element_state::*;
use style::str::{split_html_space_chars, str_join};
@@ -41,7 +41,7 @@ pub struct HTMLOptionElement {
impl HTMLOptionElement {
fn new_inherited(local_name: LocalName,
- prefix: Option<DOMString>,
+ prefix: Option<Prefix>,
document: &Document) -> HTMLOptionElement {
HTMLOptionElement {
htmlelement:
@@ -54,7 +54,7 @@ impl HTMLOptionElement {
#[allow(unrooted_must_root)]
pub fn new(local_name: LocalName,
- prefix: Option<DOMString>,
+ prefix: Option<Prefix>,
document: &Document) -> Root<HTMLOptionElement> {
Node::reflect_node(box HTMLOptionElement::new_inherited(local_name, prefix, document),
document,