[FreeType] Restore conditional compilation logic for recent HarfBuzz refactoring
[WebKit-https.git] / Source / WebCore / platform / graphics / FontPlatformData.h
index 8a17c8b..6cd022c 100644 (file)
@@ -168,7 +168,9 @@ public:
 #endif
 
 #if USE(FREETYPE)
+#if USE(HARFBUZZ) && !ENABLE(OPENTYPE_MATH)
     HbUniquePtr<hb_font_t> createOpenTypeMathHarfBuzzFont() const;
+#endif
     bool hasCompatibleCharmap() const;
     FcPattern* fcPattern() const;
     bool isFixedWidth() const { return m_fixedWidth; }