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

Unified Diff: LayoutTests/fast/dom/resources/script-element-gc.js

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/fast/dom/resources/script-element-gc.js
diff --git a/LayoutTests/fast/dom/resources/script-element-gc.js b/LayoutTests/fast/dom/resources/script-element-gc.js
index b0342cdd36c3a8688bf2bb4ca9cf955688fb0b3c..5ee1e8a0f93ef551271bbc317ebd5ce7ed996af0 100644
--- a/LayoutTests/fast/dom/resources/script-element-gc.js
+++ b/LayoutTests/fast/dom/resources/script-element-gc.js
@@ -1,7 +1,7 @@
function gc()
{
if (window.GCController)
- return GCController.collect();
+ return GCController.collectAll();
for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect)
var s = new String("");

Powered by Google App Engine
This is Rietveld 408576698