summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/SimpleFontData.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/SimpleFontData.h')
-rw-r--r--WebCore/platform/graphics/SimpleFontData.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/WebCore/platform/graphics/SimpleFontData.h b/WebCore/platform/graphics/SimpleFontData.h
index c444a6f..b2eec1f 100644
--- a/WebCore/platform/graphics/SimpleFontData.h
+++ b/WebCore/platform/graphics/SimpleFontData.h
@@ -1,7 +1,7 @@
/*
* This file is part of the internal font implementation.
*
- * Copyright (C) 2006, 2008 Apple Computer, Inc.
+ * Copyright (C) 2006 Apple Computer, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -37,10 +37,6 @@ typedef struct OpaqueATSUStyle* ATSUStyle;
#include <usp10.h>
#endif
-#if PLATFORM(CAIRO)
-#include <cairo.h>
-#endif
-
namespace WebCore {
class FontDescription;
@@ -110,7 +106,7 @@ public:
static bool shouldApplyMacAscentHack();
#endif
-#if PLATFORM(CAIRO)
+#if PLATFORM(GTK)
void setFont(cairo_t*) const;
#endif
@@ -124,12 +120,6 @@ private:
void commonInit();
-#if PLATFORM(WIN)
- void initGDIFont();
- void platformCommonDestroy();
- float widthForGDIGlyph(Glyph glyph) const;
-#endif
-
public:
int m_ascent;
int m_descent;