mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578)
This commit is contained in:
parent
351b5036bf
commit
66258bfbbd
9 changed files with 53 additions and 16 deletions
|
@ -1762,7 +1762,11 @@ impl BlockFlow {
|
|||
}
|
||||
|
||||
// If you remove the might_have_floats_in conditional, this will go off.
|
||||
debug_assert!(!self.is_inline_flex_item());
|
||||
// TODO(servo#30572) revert to debug_assert!() once underlying bug is fixed
|
||||
#[cfg(debug_assertions)]
|
||||
if !(!self.is_inline_flex_item()) {
|
||||
log::warn!("debug assertion failed! !self.is_inline_flex_item()");
|
||||
}
|
||||
|
||||
// Compute the available space for us, based on the actual floats.
|
||||
let rect = self.base.floats.available_rect(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue