Index: Source/platform/fonts/FontData.h |
diff --git a/Source/platform/fonts/FontData.h b/Source/platform/fonts/FontData.h |
index fb4a65441cb3eb9c9d516b0b1d21d6f741dc31ca..0629944ec5109b87b09d2528b0d17312dcf17e53 100644 |
--- a/Source/platform/fonts/FontData.h |
+++ b/Source/platform/fonts/FontData.h |
@@ -67,6 +67,9 @@ private: |
mutable unsigned m_maxGlyphPageTreeLevel; |
}; |
+#define DEFINE_FONT_DATA_TYPE_CASTS(thisType, predicate) \ |
+ DEFINE_TYPE_CASTS(thisType, FontData, fontData, fontData->isSegmented() == predicate, fontData.isSegmented() == predicate) |
+ |
} // namespace WebCore |
#endif // FontData_h |