mirror of
https://github.com/servo/servo.git
synced 2025-09-11 07:28:19 +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
|
@ -4171,7 +4171,7 @@ pub extern "C" fn Servo_StyleSet_GetFontFaceRules(
|
|||
rules: RawGeckoFontFaceRuleListBorrowedMut,
|
||||
) {
|
||||
let data = PerDocumentStyleData::from_ffi(raw_data).borrow();
|
||||
debug_assert!(rules.len() == 0);
|
||||
debug_assert_eq!(rules.len(), 0);
|
||||
|
||||
let global_style_data = &*GLOBAL_STYLE_DATA;
|
||||
let guard = global_style_data.shared_lock.read();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue