stylo: Fix nsCOMPtr release bindings.

This commit is contained in:
Emilio Cobos Álvarez 2017-05-08 22:07:12 +02:00
parent 81f273b66f
commit 29c52cc61b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 13 additions and 9 deletions

View file

@ -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>())
}
}