Index: Source/core/dom/StyleEngine.h |
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h |
index d3b701ad41b3b8919c9de26a6d539db9f49f6649..ad949e74b0bca32435bf46876cb3297132c76c87 100644 |
--- a/Source/core/dom/StyleEngine.h |
+++ b/Source/core/dom/StyleEngine.h |
@@ -161,7 +161,9 @@ public: |
bool hasResolver() const { return m_resolver.get(); } |
void clearResolver(); |
- CSSFontSelector* fontSelector(); |
+ CSSFontSelector* fontSelector() { return m_fontSelector.get(); } |
+ void resetFontSelector(); |
+ |
void didAttach(); |
void didDetach(); |
bool shouldClearResolver() const; |
@@ -218,6 +220,8 @@ private: |
unsigned m_lastResolverAccessCount; |
Timer<StyleEngine> m_resolverThrowawayTimer; |
OwnPtr<StyleResolver> m_resolver; |
+ |
+ RefPtr<CSSFontSelector> m_fontSelector; |
}; |
} |