diff options
Diffstat (limited to 'components/gfx/platform/windows/font.rs')
-rw-r--r-- | components/gfx/platform/windows/font.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/gfx/platform/windows/font.rs b/components/gfx/platform/windows/font.rs index 3ec4c73ecf8..03b82022068 100644 --- a/components/gfx/platform/windows/font.rs +++ b/components/gfx/platform/windows/font.rs @@ -23,7 +23,6 @@ use crate::font::{ }; use crate::font_cache_thread::FontIdentifier; use crate::platform::font_template::FontTemplateData; -use crate::platform::windows::font_context::FontContextHandle; use crate::text::glyph::GlyphId; // 1em = 12pt = 16px, assuming 72 points per inch and 96 px per inch @@ -228,7 +227,6 @@ impl FontHandle {} impl FontHandleMethods for FontHandle { fn new_from_template( - _: &FontContextHandle, template: Arc<FontTemplateData>, pt_size: Option<Au>, ) -> Result<Self, &'static str> { |