Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: Source/WebCore/platform/graphics/GlyphBuffer.h

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/platform/graphics/FontPlatformData.h ('k') | Source/WebCore/platform/graphics/Gradient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/GlyphBuffer.h
diff --git a/Source/WebCore/platform/graphics/GlyphBuffer.h b/Source/WebCore/platform/graphics/GlyphBuffer.h
index 21724df636dd88fd4c781021b94f1915e7acb852..a1de93529334a08e6f0e1dac4b5845111085c832 100644
--- a/Source/WebCore/platform/graphics/GlyphBuffer.h
+++ b/Source/WebCore/platform/graphics/GlyphBuffer.h
@@ -49,8 +49,6 @@ class SimpleFontData;
#if OS(WINCE)
typedef wchar_t GlyphBufferGlyph;
-#elif PLATFORM(QT)
-typedef quint32 GlyphBufferGlyph;
#else
typedef Glyph GlyphBufferGlyph;
#endif
@@ -84,18 +82,6 @@ public:
private:
float advance;
};
-#elif PLATFORM(QT)
-struct GlyphBufferAdvance : public QPointF {
-public:
- GlyphBufferAdvance(const QPointF& advance)
- : QPointF(advance)
- {
- }
-
- void setWidth(qreal width) { QPointF::setX(width); }
- qreal width() const { return QPointF::x(); }
- qreal height() const { return QPointF::y(); }
-};
#else
typedef FloatSize GlyphBufferAdvance;
#endif
@@ -152,8 +138,6 @@ public:
m_advances.append(advance);
#elif OS(WINCE)
m_advances.append(width);
-#elif PLATFORM(QT)
- m_advances.append(QPointF(width, 0));
#else
m_advances.append(FloatSize(width, 0));
#endif
« no previous file with comments | « Source/WebCore/platform/graphics/FontPlatformData.h ('k') | Source/WebCore/platform/graphics/Gradient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698