Index: Source/platform/fonts/FontFallbackList.h |
diff --git a/Source/platform/fonts/FontFallbackList.h b/Source/platform/fonts/FontFallbackList.h |
index fa7b9ac567604421a47a2f4cead3a8953b6ec541..118b33e4f29df49d09542d264aa077f1ce8ac7d1 100644 |
--- a/Source/platform/fonts/FontFallbackList.h |
+++ b/Source/platform/fonts/FontFallbackList.h |
@@ -64,6 +64,7 @@ public: |
static PassRefPtr<FontFallbackList> create() { return adoptRef(new FontFallbackList()); } |
~FontFallbackList() { releaseFontData(); } |
+ bool isValid() const { return m_fontSelector ? m_fontSelector->version() == m_fontSelectorVersion : m_fontSelectorVersion == 0; } |
esprehn
2015/03/26 23:28:15
Can we move this out of line instead?
rune
2015/03/27 07:14:22
Done.
|
void invalidate(PassRefPtrWillBeRawPtr<FontSelector>); |
bool isFixedPitch(const FontDescription& fontDescription) const |