| Index: LayoutTests/fast/events/scale-and-scroll-window.html
|
| diff --git a/LayoutTests/fast/events/scale-and-scroll-window.html b/LayoutTests/fast/events/scale-and-scroll-window.html
|
| index 2c67664c236a64b06ca0fd35324363fc29a5005c..d563e0cb5a112ff9badef1b1249f18142c7bdb7d 100644
|
| --- a/LayoutTests/fast/events/scale-and-scroll-window.html
|
| +++ b/LayoutTests/fast/events/scale-and-scroll-window.html
|
| @@ -10,7 +10,7 @@
|
| window.enablePixelTesting = true;
|
|
|
| function scroll() {
|
| - // 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.
|
| window.scrollTo(100,100);
|
| @@ -24,8 +24,9 @@
|
| function scaleWithEventSender() {
|
| var scaleFactor = 2.0;
|
| var scaleOffset = 0;
|
| - if (window.internals) {
|
| - window.internals.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset);
|
| + if (window.eventSender) {
|
| + eventSender.setInitialPageScaleOverride(-1);
|
| + eventSender.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset);
|
| }
|
| }
|
|
|
|
|