Changeset 145085 in webkit
- Timestamp:
- Mar 7, 2013 9:11:57 AM (11 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/Api/qwebsettings.cpp
r144953 r145085 28 28 #include "FileSystem.h" 29 29 #include "FontCache.h" 30 #include "GCController.h" 30 31 #include "IconDatabase.h" 31 32 #include "Image.h" … … 814 815 815 816 /*! 816 Frees up as much memory as possible by c leaning all memory caches such817 Frees up as much memory as possible by calling the JavaScript garbage collector and cleaning all memory caches such 817 818 as page, object and font cache. 818 819 … … 840 841 // Empty the Cross-Origin Preflight cache 841 842 WebCore::CrossOriginPreflightResultCache::shared().empty(); 843 844 // Drop JIT compiled code from ExecutableAllocator. 845 WebCore::gcController().discardAllCompiledCode(); 846 // Garbage Collect to release the references of CachedResource from dead objects. 847 WebCore::gcController().garbageCollectNow(); 842 848 } 843 849 -
trunk/Source/WebKit/qt/ChangeLog
r145012 r145085 1 2013-03-07 Arunprasad Rajkumar <arunprasadr@nds.com> 2 3 [Qt] QWebSettings::clearMemoryCaches should clear JS garbage 4 https://bugs.webkit.org/show_bug.cgi?id=111094 5 6 Reviewed by Jocelyn Turcotte. 7 8 * Api/qwebsettings.cpp: 9 (QWebSettings::clearMemoryCaches): 10 1 11 2013-03-06 Benjamin Poulain <benjamin@webkit.org> 2 12
Note: See TracChangeset
for help on using the changeset viewer.