Chromium Code Reviews| Index: Source/core/css/CSSFontSelector.h |
| diff --git a/Source/core/css/CSSFontSelector.h b/Source/core/css/CSSFontSelector.h |
| index 1bdd88de13e4825751f53442bcefecb82e21c922..41caa08649c389f95979d98cbfd86c774480bbdf 100644 |
| --- a/Source/core/css/CSSFontSelector.h |
| +++ b/Source/core/css/CSSFontSelector.h |
| @@ -30,6 +30,7 @@ |
| #include "core/fetch/ResourcePtr.h" |
| #include "platform/Timer.h" |
| #include "platform/fonts/FontSelector.h" |
| +#include "platform/fonts/GenericFontFamilySettings.h" |
| #include "wtf/Forward.h" |
| #include "wtf/HashMap.h" |
| #include "wtf/HashSet.h" |
| @@ -88,6 +89,8 @@ public: |
| Document* document() const { return m_document; } |
| + const GenericFontFamilySettings& genericFontFamilySettings() const { return m_genericFontFamilySettings; } |
| + |
| void beginLoadingFontSoon(FontResource*); |
| void loadPendingFonts(); |
| @@ -102,6 +105,7 @@ private: |
| HashSet<FontSelectorClient*> m_clients; |
| FontLoader m_fontLoader; |
| + GenericFontFamilySettings m_genericFontFamilySettings; |
|
esprehn
2013/12/04 00:57:23
Why not store a reference to it?
|
| }; |
| } // namespace WebCore |