mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
stylo: Read mName as a raw nsIAtom* from NodeInfoInner.
This commit is contained in:
parent
4f0821192c
commit
aeb2b8b098
2 changed files with 2 additions and 2 deletions
|
@ -1665,7 +1665,7 @@ impl<'le> ::selectors::Element for GeckoElement<'le> {
|
|||
|
||||
fn get_local_name(&self) -> &WeakAtom {
|
||||
unsafe {
|
||||
WeakAtom::new(self.as_node().node_info().mInner.mName.raw::<nsIAtom>())
|
||||
WeakAtom::new(self.as_node().node_info().mInner.mName)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue