mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
parent
52205e8483
commit
55e2cd5dc3
7 changed files with 85 additions and 100 deletions
|
@ -413,7 +413,7 @@ impl nsStyleImage {
|
|||
nsStyleImageType::eStyleImageType_Element => {
|
||||
use gecko_string_cache::Atom;
|
||||
let atom = Gecko_GetImageElement(self);
|
||||
Some(GenericImage::Element(Atom::from(atom)))
|
||||
Some(GenericImage::Element(Atom::from_raw(atom)))
|
||||
},
|
||||
_ => panic!("Unexpected image type")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue