-
bfulgham@webkit.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=26353 Corrects handling of Cairo fonts that were getting out of sync due to default copy construction. Also refactors some incorrect platform font destruction code that belongs in the font object's destructor. * platform/graphics/win/FontPlatformData.h: * platform/graphics/win/FontPlatformDataCGWin.cpp: (WebCore::FontPlatformData::~FontPlatformData): * platform/graphics/win/FontPlatformDataCairoWin.cpp: (WebCore::FontPlatformData::platformDataInit): (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::setFont): (WebCore::FontPlatformData::~FontPlatformData): * platform/graphics/win/FontPlatformDataWin.cpp: * platform/graphics/win/SimpleFontDataCGWin.cpp: * platform/graphics/win/SimpleFontDataCairoWin.cpp: (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformWidthForGlyph): * platform/graphics/win/SimpleFontDataWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1d791242