mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
style: Undo minor debugging change.
This commit is contained in:
parent
f8e924f86a
commit
59eef57eb7
1 changed files with 1 additions and 3 deletions
|
@ -26,9 +26,7 @@ pub struct RuleCacheConditions {
|
|||
impl RuleCacheConditions {
|
||||
/// Sets the style as depending in the font-size value.
|
||||
pub fn set_font_size_dependency(&mut self, font_size: NonNegativeLength) {
|
||||
if let Some(f) = &self.font_size {
|
||||
debug_assert_eq!(*f, font_size);
|
||||
}
|
||||
debug_assert!(self.font_size.map_or(true, |f| f == font_size));
|
||||
self.font_size = Some(font_size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue