diff options
Diffstat (limited to 'components/style/font_metrics.rs')
-rw-r--r-- | components/style/font_metrics.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/style/font_metrics.rs b/components/style/font_metrics.rs index e093f13ef18..1e3daebdb33 100644 --- a/components/style/font_metrics.rs +++ b/components/style/font_metrics.rs @@ -7,11 +7,11 @@ #![deny(missing_docs)] use app_units::Au; -use context::SharedStyleContext; -use logical_geometry::WritingMode; -use media_queries::Device; -use properties::style_structs::Font; -use Atom; +use crate::context::SharedStyleContext; +use crate::logical_geometry::WritingMode; +use crate::media_queries::Device; +use crate::properties::style_structs::Font; +use crate::Atom; /// Represents the font metrics that style needs from a font to compute the /// value of certain CSS units like `ex`. @@ -86,8 +86,8 @@ impl FontMetricsProvider for ServoMetricsProvider { #[cfg(feature = "gecko")] /// Construct a font metrics provider for the current product -pub fn get_metrics_provider_for_product() -> ::gecko::wrapper::GeckoFontMetricsProvider { - ::gecko::wrapper::GeckoFontMetricsProvider::new() +pub fn get_metrics_provider_for_product() -> crate::gecko::wrapper::GeckoFontMetricsProvider { + crate::gecko::wrapper::GeckoFontMetricsProvider::new() } #[cfg(feature = "servo")] |