Use testRunner instead of layoutTestController in animations tests
[WebKit-https.git] / LayoutTests / animations / 3d / change-transform-in-end-event.html
index 8adea4a..5dce399 100644 (file)
     function testEnded()
     {
       document.getElementById('tester').style.webkitTransform = 'translateX(150px)';
-      if (window.layoutTestController)
-        layoutTestController.notifyDone();
+      if (window.testRunner)
+        testRunner.notifyDone();
     }
     
     function startTest()
     {
-      if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+      if (window.testRunner)
+        testRunner.waitUntilDone();
 
       document.getElementById('tester').addEventListener('webkitAnimationEnd', testEnded, false);
       document.getElementById('container').className = 'moved';