Index: LayoutTests/fast/repaint/fixed-right-in-page-scale.html |
diff --git a/LayoutTests/fast/repaint/fixed-right-in-page-scale.html b/LayoutTests/fast/repaint/fixed-right-in-page-scale.html |
index ac9e21259e4b3e25595879ed2e39d39e74bd3066..88ea821caf55e00ef934d1640b9d1883c686a52d 100644 |
--- a/LayoutTests/fast/repaint/fixed-right-in-page-scale.html |
+++ b/LayoutTests/fast/repaint/fixed-right-in-page-scale.html |
@@ -13,15 +13,16 @@ |
window.scrollTo(100,100); |
} |
- function scaleWithEventSender() { |
+ function applyScaleFactor() { |
var scaleFactor = 2.0; |
if (window.internals) |
internals.setPageScaleFactor(scaleFactor); |
} |
function test() { |
- scaleWithEventSender(); |
+ // Scroll before applying page scale so we scroll the layout viewport. |
scroll(); |
+ applyScaleFactor(); |
} |
</script> |
<script src="../../resources/js-test.js"></script> |