| Index: LayoutTests/fast/events/scale-and-scroll-body.html
|
| diff --git a/LayoutTests/fast/events/scale-and-scroll-body.html b/LayoutTests/fast/events/scale-and-scroll-body.html
|
| index a4b4f499a94fa18255780fc028aea8423f0d75a4..71d43fc4926663860fd75876353719a7ac892a29 100644
|
| --- a/LayoutTests/fast/events/scale-and-scroll-body.html
|
| +++ b/LayoutTests/fast/events/scale-and-scroll-body.html
|
| @@ -11,11 +11,11 @@
|
|
|
| function scrollViaJavascript() {
|
| var scaleFactor = 2.0;
|
| - if (window.internals) {
|
| - window.internals.setPageScaleFactor(scaleFactor, 0, 0);
|
| + if (window.eventSender) {
|
| + window.eventSender.setPageScaleFactor(scaleFactor, 0, 0);
|
| }
|
|
|
| - // The page scale, as set by window.internals.setPageScaleFactor should not be apparent
|
| + // The page scale, as set by window.eventSender.setPageScaleFactor should not be apparent
|
| // to javascript. So, we expect scrolling to (100,100) to be page coordinates, rather
|
| // than device pixels.
|
| document.body.scrollLeft = 100;
|
| @@ -28,10 +28,10 @@
|
| }
|
|
|
| function scrollViaSetScaleFactor() {
|
| - if (window.internals) {
|
| + if (window.eventSender) {
|
| // Test that the scroll offset changes even if scaleFactor remains
|
| // the same.
|
| - window.internals.setPageScaleFactor(1, 30, 30);
|
| + window.eventSender.setPageScaleFactor(1, 30, 30);
|
| shouldBe("window.document.body.scrollTop", "30");
|
| shouldBe("window.document.body.scrollLeft", "30");
|
| }
|
|
|