Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / dom / scroll-element-to-rect-centered.html
index 185a1df..877b5bf 100644 (file)
@@ -19,8 +19,8 @@
       debug("Scrolled element to rect");
       shouldBe("rect.left", "computedLeft");
       shouldBe("rect.top", "computedTop");
-      if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+      if (window.testRunner) {
+        testRunner.dumpAsText();
       }
     </script>
     <script src="../js/resources/js-test-post.js"></script>