summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/GlyphPageTreeNode.h
diff options
context:
space:
mode:
authorRussell Brenner <russellbrenner@google.com>2012-03-01 17:32:32 -0800
committerRussell Brenner <russellbrenner@google.com>2012-03-14 12:53:32 -0700
commit852a85ba96877ec81137d97c77bce0afb3634968 (patch)
tree9c7d33c9e9968b0b1eb6b5e4a84dad1ca79e247e /Source/WebCore/platform/graphics/GlyphPageTreeNode.h
parentd487c56b47c747d3e331ee1892e4c0473363afd2 (diff)
downloadexternal_webkit-852a85ba96877ec81137d97c77bce0afb3634968.zip
external_webkit-852a85ba96877ec81137d97c77bce0afb3634968.tar.gz
external_webkit-852a85ba96877ec81137d97c77bce0afb3634968.tar.bz2
Refresh fonts when system locale is changed
When content is cleared, check for locale change and flush internal font caches, if necessary. Bug: 5873170 Change-Id: Ifba52e6e827444b41d08f1ca08c3b6f2c9d87462
Diffstat (limited to 'Source/WebCore/platform/graphics/GlyphPageTreeNode.h')
-rw-r--r--Source/WebCore/platform/graphics/GlyphPageTreeNode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/GlyphPageTreeNode.h b/Source/WebCore/platform/graphics/GlyphPageTreeNode.h
index b68c0ed..72a62ea 100644
--- a/Source/WebCore/platform/graphics/GlyphPageTreeNode.h
+++ b/Source/WebCore/platform/graphics/GlyphPageTreeNode.h
@@ -196,6 +196,11 @@ public:
void pruneCustomFontData(const FontData*);
void pruneFontData(const SimpleFontData*, unsigned level = 0);
+#if PLATFORM(ANDROID)
+ static void resetRoots();
+ void resetChildren();
+#endif
+
GlyphPageTreeNode* parent() const { return m_parent; }
GlyphPageTreeNode* getChild(const FontData*, unsigned pageNumber);