summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/platform/graphics/FontData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/platform/graphics/FontData.h')
-rw-r--r--src/3rdparty/webkit/WebCore/platform/graphics/FontData.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebCore/platform/graphics/FontData.h b/src/3rdparty/webkit/WebCore/platform/graphics/FontData.h
index cb799197e..76927f5a5 100644
--- a/src/3rdparty/webkit/WebCore/platform/graphics/FontData.h
+++ b/src/3rdparty/webkit/WebCore/platform/graphics/FontData.h
@@ -32,8 +32,9 @@
namespace WebCore {
class SimpleFontData;
+class String;
-class FontData : Noncopyable {
+class FontData : public Noncopyable {
public:
FontData()
: m_maxGlyphPageTreeLevel(0)
@@ -51,6 +52,10 @@ public:
void setMaxGlyphPageTreeLevel(unsigned level) const { m_maxGlyphPageTreeLevel = level; }
unsigned maxGlyphPageTreeLevel() const { return m_maxGlyphPageTreeLevel; }
+#ifndef NDEBUG
+ virtual String description() const = 0;
+#endif
+
private:
mutable unsigned m_maxGlyphPageTreeLevel;
};