Index: Source/core/dom/StyleEngine.h |
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h |
index 365cbc0de9be8ec9eeb47ebc91e5d1288c58e5e6..36c4b9d4bbbd48f888c77488994011240bd60e8d 100644 |
--- a/Source/core/dom/StyleEngine.h |
+++ b/Source/core/dom/StyleEngine.h |
@@ -163,7 +163,9 @@ public: |
void clearResolver(); |
void clearMasterResolver(); |
- CSSFontSelector* fontSelector(); |
+ CSSFontSelector* fontSelector() { return m_fontSelector.get(); } |
+ void resetFontSelector(); |
+ |
void didAttach(); |
void didDetach(); |
bool shouldClearResolver() const; |
@@ -231,6 +233,8 @@ private: |
unsigned m_lastResolverAccessCount; |
Timer<StyleEngine> m_resolverThrowawayTimer; |
OwnPtr<StyleResolver> m_resolver; |
+ |
+ RefPtr<CSSFontSelector> m_fontSelector; |
}; |
} |