Changeset 126846 in webkit
- Timestamp:
- Aug 27, 2012, 11:33:34 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
Source/WebKit/gtk/ChangeLog (modified) (1 diff)
-
Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp (modified) (2 diffs)
-
Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/DumpRenderTree/gtk/DumpRenderTree.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/gtk/ChangeLog
r126837 r126846 1 2012-08-27 Zan Dobersek <zandobersek@gmail.com> 2 3 [GTK] Memory cache should be cleared in between test runs 4 https://bugs.webkit.org/show_bug.cgi?id=95105 5 6 Reviewed by Martin Robinson. 7 8 Add a DumpRenderTreeSupportGtk helper method that clears the 9 memory cache when called. 10 11 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: 12 (DumpRenderTreeSupportGtk::clearMemoryCache): 13 * WebCoreSupport/DumpRenderTreeSupportGtk.h: 14 (DumpRenderTreeSupportGtk): 15 1 16 2012-08-27 Sheriff Bot <webkit.review.bot@gmail.com> 2 17 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
r125615 r126846 51 51 #include "JSNodeList.h" 52 52 #include "JSValue.h" 53 #include "MemoryCache.h" 53 54 #include "MutationObserver.h" 54 55 #include "NodeList.h" … … 868 869 coreFrame->view()->resetTrackedRepaints(); 869 870 } 871 872 void DumpRenderTreeSupportGtk::clearMemoryCache() 873 { 874 memoryCache()->evictResources(); 875 } -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
r123711 r126846 131 131 static void resetTrackedRepaints(WebKitWebFrame*); 132 132 133 static void clearMemoryCache(); 134 133 135 private: 134 136 static bool s_drtRun; -
trunk/Tools/ChangeLog
r126837 r126846 1 2012-08-27 Zan Dobersek <zandobersek@gmail.com> 2 3 [GTK] Memory cache should be cleared in between test runs 4 https://bugs.webkit.org/show_bug.cgi?id=95105 5 6 Reviewed by Martin Robinson. 7 8 Call the new DumpRenderTreeSupportGtk helper method after every test 9 to clear the memory cache. 10 11 * DumpRenderTree/gtk/DumpRenderTree.cpp: 12 (runTest): 13 1 14 2012-08-27 Sheriff Bot <webkit.review.bot@gmail.com> 2 15 -
trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp
r126229 r126846 770 770 771 771 WebCoreTestSupport::resetInternalsObject(webkit_web_frame_get_global_context(mainFrame)); 772 DumpRenderTreeSupportGtk::clearMemoryCache(); 772 773 773 774 // A blank load seems to be necessary to reset state after certain tests.
Note:
See TracChangeset
for help on using the changeset viewer.