diff options
Diffstat (limited to 'components/style/font_metrics.rs')
-rw-r--r-- | components/style/font_metrics.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/style/font_metrics.rs b/components/style/font_metrics.rs index ab2468e5439..a45ebc297d9 100644 --- a/components/style/font_metrics.rs +++ b/components/style/font_metrics.rs @@ -43,7 +43,11 @@ pub trait FontMetricsProvider { } /// Get default size of a given language and generic family. - fn get_size(&self, font_name: &Atom, font_family: crate::values::computed::font::GenericFontFamily) -> Au; + fn get_size( + &self, + font_name: &Atom, + font_family: crate::values::computed::font::GenericFontFamily, + ) -> Au; /// Construct from a shared style context fn create_from(context: &SharedStyleContext) -> Self |