mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
parent
52205e8483
commit
55e2cd5dc3
7 changed files with 85 additions and 100 deletions
|
@ -507,7 +507,7 @@ impl CounterStyleOrNone {
|
|||
|
||||
let name = unsafe { bindings::Gecko_CounterStyle_GetName(gecko_value) };
|
||||
if !name.is_null() {
|
||||
let name = Atom::from(name);
|
||||
let name = unsafe { Atom::from_raw(name) };
|
||||
if name == atom!("none") {
|
||||
Either::First(CounterStyleOrNone::None)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue