Use testRunner instead of layoutTestController in animations tests
[WebKit-https.git] / LayoutTests / animations / body-removal-crash.html
index 0e104f6..ae02de2 100644 (file)
@@ -39,13 +39,13 @@ function crash() {
 function cleanup() {
   document.getElementById("b").parentNode.insertBefore(element, document.getElementById("b").nextSibling);
   
-  if (window.layoutTestController)
-      layoutTestController.notifyDone();
+  if (window.testRunner)
+      testRunner.notifyDone();
 }
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 crash();