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..f671861fabd4342eab0e7da9275f1824f9a6d46e 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,9 +24,8 @@ |
function scaleWithEventSender() { |
var scaleFactor = 2.0; |
var scaleOffset = 0; |
- if (window.internals) { |
- window.internals.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset); |
- } |
+ if (window.eventSender) |
+ eventSender.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset); |
} |
function test() { |