Use testRunner instead of layoutTestController in animations tests
[WebKit-https.git] / LayoutTests / animations / 3d / replace-filling-transform.html
index 6525f6e..09ec341 100644 (file)
@@ -56,8 +56,8 @@
             else
                 result.innerHTML = "FAIL - final state was " + computedValue + " expected " + expectedValue;
 
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
 
         function swapAnim()
@@ -76,9 +76,9 @@
             document.addEventListener("webkitAnimationEnd", swapAnim, false);
         }
         
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText(true);
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText(true);
+            testRunner.waitUntilDone();
         }
 
         window.addEventListener("load", setup, false);