mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix comments and variable names for atom wrapper.
This commit is contained in:
parent
dddd3346a6
commit
560e380767
2 changed files with 6 additions and 6 deletions
|
@ -1273,7 +1273,7 @@ impl Node {
|
|||
ElementNodeTypeId(..) => {
|
||||
let element: &JSRef<Element> = ElementCast::to_ref(node).unwrap();
|
||||
let element = element.deref();
|
||||
let element = build_element_from_tag(element.local_name.as_slice().into_string(),
|
||||
let element = build_element_from_tag(element.local_name.as_slice().to_string(),
|
||||
element.namespace.clone(), &*document);
|
||||
NodeCast::from_temporary(element)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue