Permalink
Browse files
style: Undo minor debugging change.
- Loading branch information
Showing
with
1 addition
and
3 deletions.
-
+1
−3
components/style/rule_cache.rs
|
@@ -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); |
|
|
} |
|
|
|
|
|
0 comments on commit
59eef57