diff --git a/components/fonts/platform/windows/font.rs b/components/fonts/platform/windows/font.rs index 08bebd66d0e..09183b6700e 100644 --- a/components/fonts/platform/windows/font.rs +++ b/components/fonts/platform/windows/font.rs @@ -48,14 +48,6 @@ pub struct FontTable { data: Vec, } -impl FontTable { - pub(crate) fn wrap(data: &[u8]) -> FontTable { - FontTable { - data: data.to_vec(), - } - } -} - impl FontTableMethods for FontTable { fn buffer(&self) -> &[u8] { &self.data