aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2023-09-23 18:56:49 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-10-02 14:37:19 +0000
commit03e84754ccf91ae9b0b13f0952606cb115966859 (patch)
treea68f071f29073e8251319d334dd0a25109985fb9
parentfa8b5f17e368f0e91dcdc1c3871f5f57bee86b73 (diff)
downloadservo-03e84754ccf91ae9b0b13f0952606cb115966859.tar.gz
servo-03e84754ccf91ae9b0b13f0952606cb115966859.zip
Further changes required by Servo
-rw-r--r--components/style/font_face.rs1
1 files changed, 1 insertions, 0 deletions
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.