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

Unified Diff: webkit/port/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp

Issue 8615: Add support for transformed, stoked, shadowed, filled text. We do this by... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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: webkit/port/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp
===================================================================
--- webkit/port/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp (revision 6975)
+++ webkit/port/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp (working copy)
@@ -29,6 +29,7 @@
#include <mlang.h>
#include "ChromiumBridge.h"
+#include "SkiaFontWin.h"
namespace WebCore {
@@ -103,6 +104,7 @@
FontPlatformData::RefCountedHFONT::~RefCountedHFONT()
{
if (m_hfont != reinterpret_cast<HFONT>(-1)) {
+ RemoveFontFromSkiaFontWinCache(m_hfont);
DeleteObject(m_hfont);
}
}

Powered by Google App Engine
This is Rietveld 408576698