summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/android')
-rw-r--r--WebCore/platform/graphics/android/FontPlatformData.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/FontPlatformData.h b/WebCore/platform/graphics/android/FontPlatformData.h
index 56c7827..d7761a8 100644
--- a/WebCore/platform/graphics/android/FontPlatformData.h
+++ b/WebCore/platform/graphics/android/FontPlatformData.h
@@ -25,6 +25,10 @@
#ifndef FontPlatformData_H
#define FontPlatformData_H
+#ifndef NDEBUG
+#include "PlatformString.h"
+#endif
+
#include "StringImpl.h"
class SkPaint;
@@ -59,6 +63,10 @@ public:
float size() const { return mTextSize; }
unsigned hash() const;
+#ifndef NDEBUG
+ String description() const { return ""; }
+#endif
+
private:
SkTypeface* mTypeface;
float mTextSize;