Chromium Code Reviews| Index: Source/platform/fonts/FontFallbackList.h |
| diff --git a/Source/platform/fonts/FontFallbackList.h b/Source/platform/fonts/FontFallbackList.h |
| index 252b8df26249898e5204cab9ac4a8b7ea5435de4..aef41b4237c1ada5a4db2b47509ed915f991c064 100644 |
| --- a/Source/platform/fonts/FontFallbackList.h |
| +++ b/Source/platform/fonts/FontFallbackList.h |
| @@ -105,6 +105,19 @@ private: |
| void releaseFontData(); |
| + GlyphPageTreeNode* getPageNode(unsigned pageNumber) const |
| + { |
| + return pageNumber ? m_pages.get(pageNumber) : m_pageZero; |
| + } |
| + |
| + void setPageNode(unsigned pageNumber, GlyphPageTreeNode* node) |
| + { |
| + if (pageNumber) |
| + m_pages.set(pageNumber, node); |
| + else |
| + m_pageZero = node; |
| + } |
| + |
| mutable Vector<RefPtr<FontData>, 1> m_fontList; |
| mutable GlyphPages m_pages; |
|
jbroman
2014/07/02 12:46:44
nit: Any reason for these two members to be mutabl
f(malita)
2014/07/02 13:07:30
I totally meant to do this and then forgot :) Done
|
| mutable GlyphPageTreeNode* m_pageZero; |