mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
stylo: Fix nsCOMPtr release bindings.
This commit is contained in:
parent
81f273b66f
commit
29c52cc61b
4 changed files with 13 additions and 9 deletions
|
@ -1060,7 +1060,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())
|
||||
WeakAtom::new(self.as_node().node_info().mInner.mName.raw::<nsIAtom>())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue