mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Pass an Atom to Element::create.
This commit is contained in:
parent
e8b02acb1d
commit
9435565f85
4 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue