From 03e84754ccf91ae9b0b13f0952606cb115966859 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Sat, 23 Sep 2023 18:56:49 +0200 Subject: [PATCH] Further changes required by Servo --- components/style/font_face.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/style/font_face.rs b/components/style/font_face.rs index 519b14bfd0c..381ea00bc1e 100644 --- a/components/style/font_face.rs +++ b/components/style/font_face.rs @@ -74,6 +74,7 @@ bitflags! { /// Flags for the @font-face tech() function, indicating font technologies /// required by the resource. #[derive(ToShmem)] + #[cfg_attr(feature = "servo", derive(Deserialize, Serialize))] #[repr(C)] pub struct FontFaceSourceTechFlags: u16 { /// Font requires OpenType feature support.