Pass an Atom to Element::create.

This commit is contained in:
Ms2ger 2014-11-14 16:19:24 +01:00 committed by Tamir Duberstein
parent e8b02acb1d
commit 9435565f85
4 changed files with 8 additions and 8 deletions

View file

@ -120,7 +120,7 @@ pub enum ElementCreator {
// Element methods
//
impl Element {
pub fn create(name: QualName, prefix: Option<DOMString>,
pub fn create(name: QualName, prefix: Option<Atom>,
document: JSRef<Document>, creator: ElementCreator)
-> Temporary<Element> {
create_element(name, prefix, document, creator)