Prospective Wx build fix.
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Apr 2008 10:52:38 +0000 (10:52 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Apr 2008 10:52:38 +0000 (10:52 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32616 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/graphics/wx/FontPlatformData.h

index 89237f3..1230efc 100644 (file)
@@ -1,5 +1,11 @@
 2008-04-28  Simon Hausmann  <hausmann@webkit.org>
 
+        Prospective Wx build fix.
+
+        * platform/graphics/wx/FontPlatformData.h:
+
+2008-04-28  Simon Hausmann  <hausmann@webkit.org>
+
         Reviewed by Alp.
 
         Gtk build fix, similar to the changes done in r32609.
index 0f4c29b..14737b7 100644 (file)
@@ -41,11 +41,9 @@ namespace WebCore {
 
 class FontPlatformData {
 public:
-    class Deleted {};
-
     enum FontState { UNINITIALIZED, DELETED, VALID };
 
-    FontPlatformData(Deleted)
+    FontPlatformData(WTF::HashTableDeletedValueType)
     : m_fontState(DELETED)
     { }
 
@@ -87,6 +85,8 @@ public:
         else
             return m_fontState == other.m_fontState;
     }
+
+    bool isHashTableDeletedValue() const { return m_fontState == DELETED; }
     
     unsigned computeHash() const {
         ASSERT(m_font.Ok());