mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-01 18:37:42 +01: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/branches/963@478 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
d1ec7b7e9b
commit
7947abaaa0
@ -31,11 +31,6 @@ patches = [
|
|||||||
'name': 'webcore_cachedresource',
|
'name': 'webcore_cachedresource',
|
||||||
'path': '../third_party/WebKit/Source/WebCore/loader/cache/',
|
'path': '../third_party/WebKit/Source/WebCore/loader/cache/',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
# https://bugs.webkit.org/show_bug.cgi?id=78018
|
|
||||||
'name': 'webcore_graphics_chromium',
|
|
||||||
'path': '../third_party/WebKit/Source/WebCore/platform/graphics/chromium/',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
# http://code.google.com/p/chromiumembedded/issues/detail?id=364
|
# http://code.google.com/p/chromiumembedded/issues/detail?id=364
|
||||||
'name': 'spi_webcore_364',
|
'name': 'spi_webcore_364',
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
Index: FontCacheChromiumWin.cpp
|
|
||||||
===================================================================
|
|
||||||
--- FontCacheChromiumWin.cpp (revision 102901)
|
|
||||||
+++ FontCacheChromiumWin.cpp (working copy)
|
|
||||||
@@ -255,6 +255,7 @@
|
|
||||||
resultLength--; // ignore the null terminator
|
|
||||||
|
|
||||||
SelectObject(dc, oldFont);
|
|
||||||
+ DeleteObject(hfont);
|
|
||||||
ReleaseDC(0, dc);
|
|
||||||
*winName = String(name, resultLength);
|
|
||||||
return hfont;
|
|
Loading…
x
Reference in New Issue
Block a user