summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/GlyphPageTreeNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/GlyphPageTreeNode.h')
-rw-r--r--WebCore/platform/graphics/GlyphPageTreeNode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/GlyphPageTreeNode.h b/WebCore/platform/graphics/GlyphPageTreeNode.h
index 80e87aa..7918ac5 100644
--- a/WebCore/platform/graphics/GlyphPageTreeNode.h
+++ b/WebCore/platform/graphics/GlyphPageTreeNode.h
@@ -35,6 +35,11 @@
#include <wtf/RefCounted.h>
#include <wtf/unicode/Unicode.h>
+#ifndef NDEBUG
+void showGlyphPageTrees();
+void showGlyphPageTree(unsigned pageNumber);
+#endif
+
namespace WebCore {
class FontData;
@@ -210,6 +215,10 @@ private:
static GlyphPageTreeNode* getRoot(unsigned pageNumber);
void initializePage(const FontData*, unsigned pageNumber);
+#ifndef NDEBUG
+ void showSubtree();
+#endif
+
GlyphPageTreeNode* m_parent;
RefPtr<GlyphPage> m_page;
unsigned m_level;
@@ -220,6 +229,8 @@ private:
#ifndef NDEBUG
unsigned m_pageNumber;
+
+ friend void ::showGlyphPageTree(unsigned pageNumber);
#endif
};