Changeset 152340 in webkit
- Timestamp:
- Jul 2, 2013 10:54:31 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r152328 r152340 1 2013-07-02 Zan Dobersek <zdobersek@igalia.com> 2 3 [WK2] Invalidate FontCache before purging MemoryCache upon WebProcess termination/closure 4 https://bugs.webkit.org/show_bug.cgi?id=118280 5 6 Reviewed by Darin Adler. 7 8 Invalidate the FontCache before disabling and purging the MemoryCache in WebProcess::didClose 9 and WebProcess::terminate. This frees up additional references to objects that were held 10 by the FontCache, reducing the amount of 'LEAK: *' output when exiting MiniBrowser or 11 WebKitTestRunner in debug builds. 12 13 * WebProcess/WebProcess.cpp: 14 (WebKit::WebProcess::terminate): 15 (WebKit::WebProcess::didClose): 16 1 17 2013-07-02 Jessie Berlin <jberlin@apple.com> 2 18 -
trunk/Source/WebKit2/WebProcess/WebProcess.cpp
r151235 r152340 617 617 #ifndef NDEBUG 618 618 gcController().garbageCollectNow(); 619 fontCache()->invalidate(); 619 620 memoryCache()->setDisabled(true); 620 621 #endif … … 669 670 670 671 gcController().garbageCollectSoon(); 672 fontCache()->invalidate(); 671 673 memoryCache()->setDisabled(true); 672 674 #endif
Note: See TracChangeset
for help on using the changeset viewer.