Index: third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html b/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html |
index 8a4d0fa9f3f01ad8b9c0d20fea59949d1c37c756..4c62a712e7e77d1d34188195565d7ed4e2b174b4 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html |
@@ -2,7 +2,7 @@ |
<pre id="console"></pre> |
<p id="p"></p> |
- |
+<script src="../../resources/gc.js"></script> |
<script> |
function $(id) |
{ |
@@ -24,17 +24,6 @@ function shouldBe(aDescription, a, b) |
log("PASS: " + aDescription + " should be " + b + " and is."); |
} |
-function gc() |
-{ |
- if (window.GCController) { |
- GCController.collect(); |
- return; |
- } |
- |
- for (var i = 0; i < 10000; ++i) |
- new Object; |
-} |
- |
function shouldBeNull(aDescription, a) |
{ |
if (a == null) { |