Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: LayoutTests/plugins/multiple-plugins.html

Issue 211933008: Remove multiple GC calls and replace GCController.collect calls with GCController.collectAll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert change to worker-event-listener Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/plugins/multiple-plugins.html
diff --git a/LayoutTests/plugins/multiple-plugins.html b/LayoutTests/plugins/multiple-plugins.html
index 1bd5456046da8df8073dd0ea6c1e1c924bd53ee8..9b71be0b655d0d21baf897972d89f4f49dda33a1 100644
--- a/LayoutTests/plugins/multiple-plugins.html
+++ b/LayoutTests/plugins/multiple-plugins.html
@@ -3,12 +3,8 @@
}
function doGC() {
- if (window.gc) {
- // GC twice to make sure everything is cleaned up.
- for (var i = 0; i < 4; i++) {
- window.gc();
- }
- }
+ if (window.GCController)
+ GCController.collectAll();
}
function runtest() {
« no previous file with comments | « LayoutTests/media/track/tracklist-is-reachable.html ('k') | LayoutTests/plugins/npruntime/leak-window-scriptable-object.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698