Index: third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html |
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html |
index 3ef98fe804f30cf31d29b7d04eaccc95e2e334ad..d69486ec57a8d16d713c43d11fe4bfb609a38bcf 100644 |
--- a/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html |
+++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-finish-promise-gc.html |
@@ -3,13 +3,9 @@ |
<title>Garbage collect an animation with a finish promise</title> |
<script src="../resources/testharness.js"></script> |
<script src="../resources/testharnessreport.js"></script> |
+<script src="../resources/gc.js"></script> |
<body> |
<script> |
-function gc() |
-{ |
- return GCController.collectAll(); |
-} |
- |
async_test(t => { |
assert_exists(window, "GCController", "gc controller needed"); |
setInterval(gc, 0); |