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..147aba2c2a267ca0a9e1662506129828d6296730 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 |
@@ -4,12 +4,8 @@ |
<script src="../resources/testharness.js"></script> |
<script src="../resources/testharnessreport.js"></script> |
<body> |
+<script src="../resources/gc.js"></script> |
<script> |
-function gc() |
-{ |
- return GCController.collectAll(); |
-} |
- |
async_test(t => { |
assert_exists(window, "GCController", "gc controller needed"); |
setInterval(gc, 0); |