Use testRunner instead of layoutTestController in animations tests
[WebKit-https.git] / LayoutTests / animations / fill-mode-transform.html
index 1af81e0..a9b1227 100644 (file)
@@ -58,9 +58,9 @@
     ];
     var result = "";
 
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     function animationEnded(event) {
@@ -86,8 +86,8 @@
         }
         document.getElementById('result').innerHTML = result;
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
     
     window.onload = function () {