Index: Source/platform/fonts/mac/FontPlatformDataMac.mm |
diff --git a/Source/platform/fonts/mac/FontPlatformDataMac.mm b/Source/platform/fonts/mac/FontPlatformDataMac.mm |
index 6a5da23dd7d1eaf84777db8d5f1d406284c21570..4a0fc8d3b73e7f40caef2b3bd0852f05dfd618df 100644 |
--- a/Source/platform/fonts/mac/FontPlatformDataMac.mm |
+++ b/Source/platform/fonts/mac/FontPlatformDataMac.mm |
@@ -38,13 +38,6 @@ |
namespace blink { |
-unsigned FontPlatformData::hash() const |
-{ |
- ASSERT(m_font || !m_cgFont); |
- uintptr_t hashCodes[2] = { (uintptr_t)m_font, static_cast<uintptr_t>(m_isHashTableDeletedValue << 3 | m_orientation << 2 | m_syntheticBold << 1 | m_syntheticItalic) }; |
- return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes); |
-} |
- |
void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext*, const Font* font) const |
{ |
bool shouldSmoothFonts = true; |