Index: LayoutTests/svg/animations/smil-leak-elements.svg |
diff --git a/LayoutTests/svg/animations/smil-leak-elements.svg b/LayoutTests/svg/animations/smil-leak-elements.svg |
index 3c4358d1fd4f1572d21059441e46ed39cbcb60bc..040aec71988d15e416f77ab70b76908755890be6 100644 |
--- a/LayoutTests/svg/animations/smil-leak-elements.svg |
+++ b/LayoutTests/svg/animations/smil-leak-elements.svg |
@@ -32,15 +32,13 @@ function createAnimatedRect() { |
function cleanup() { |
// Collect garbage before recording starting live node count, in case there are live elements from previous tests. |
- // FIXME: Unclear why two calls to collect() are required, see crbug.com/307614 |
- GCController.collect(); |
- GCController.collect(); |
+ GCController.collectAll(); |
var originalLiveElements = internals.numberOfLiveNodes(); |
while (g.hasChildNodes()) |
g.removeChild(g.lastChild); |
- GCController.collect(); |
+ GCController.collectAll(); |
var liveDelta = originalLiveElements - internals.numberOfLiveNodes() - 200; |
if (liveDelta == 0) |