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

Unified Diff: Source/platform/fonts/win/FontPlatformDataWin.h

Issue 179723005: Remove GDI font rendering code for windows (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
Index: Source/platform/fonts/win/FontPlatformDataWin.h
diff --git a/Source/platform/fonts/win/FontPlatformDataWin.h b/Source/platform/fonts/win/FontPlatformDataWin.h
index 8ed0ff11e0d3b9d5327ddfecaecaeeaa879a006c..c3bdcc128bd97f71c59bf07ab9b672ff8dd0f036 100644
--- a/Source/platform/fonts/win/FontPlatformDataWin.h
+++ b/Source/platform/fonts/win/FontPlatformDataWin.h
@@ -69,10 +69,6 @@ public:
// set everything to NULL.
FontPlatformData(WTF::HashTableDeletedValueType);
FontPlatformData();
-#if ENABLE(GDI_FONTS_ON_WINDOWS)
- // This constructor takes ownership of the HFONT
- FontPlatformData(HFONT, float size, FontOrientation);
-#endif
FontPlatformData(float size, bool bold, bool oblique);
FontPlatformData(const FontPlatformData&);
FontPlatformData(const FontPlatformData&, float textSize);
@@ -102,14 +98,7 @@ public:
FontOrientation orientation() const { return m_orientation; }
void setOrientation(FontOrientation orientation) { m_orientation = orientation; }
-#if ENABLE(GDI_FONTS_ON_WINDOWS)
- unsigned hash() const
- {
- return m_font ? m_font->hash() : NULL;
- }
-#else
unsigned hash() const;
-#endif
bool operator==(const FontPlatformData&) const;
« no previous file with comments | « Source/platform/fonts/win/FontCustomPlatformDataWin.cpp ('k') | Source/platform/fonts/win/FontPlatformDataWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698