mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Revert revision 476: Add patch to fix GDI object leak in FontCacheChromiumWin.cpp createFontIndirectAndGetWinName (issue #499).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@479 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
Index: FontCacheChromiumWin.cpp
|
||||
===================================================================
|
||||
--- FontCacheChromiumWin.cpp (revision 103796)
|
||||
+++ FontCacheChromiumWin.cpp (working copy)
|
||||
@@ -249,6 +249,7 @@
|
||||
resultLength--; // ignore the null terminator
|
||||
|
||||
SelectObject(dc, oldFont);
|
||||
+ DeleteObject(hfont);
|
||||
ReleaseDC(0, dc);
|
||||
*winName = String(name, resultLength);
|
||||
return hfont;
|
Reference in New Issue
Block a user