mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
|
@ -163,7 +163,9 @@ impl Floats {
|
|||
|
||||
/// Adjusts the recorded offset of the flow relative to the first float.
|
||||
pub fn translate(&mut self, delta: LogicalSize<Au>) {
|
||||
self.offset = self.offset + delta
|
||||
// TODO(servo#30577) revert once underlying bug is fixed
|
||||
// self.offset = self.offset + delta
|
||||
self.offset = self.offset.add_or_warn(delta)
|
||||
}
|
||||
|
||||
/// Returns the position of the last float in flow coordinates.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue