mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Change debug assertions to specific ones
This commit is contained in:
parent
2cf0077be1
commit
661d234c3c
23 changed files with 53 additions and 53 deletions
|
@ -998,7 +998,7 @@ impl Stylist {
|
|||
|
||||
// Gecko calls this from sequential mode, so we can directly apply
|
||||
// the flags.
|
||||
debug_assert!(thread_state::get() == ThreadState::LAYOUT);
|
||||
debug_assert_eq!(thread_state::get(), ThreadState::LAYOUT);
|
||||
let self_flags = flags.for_self();
|
||||
if !self_flags.is_empty() {
|
||||
unsafe { element.set_selector_flags(self_flags); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue