Index: LayoutTests/fast/repaint/fixed-in-page-scale.html |
diff --git a/LayoutTests/fast/repaint/fixed-in-page-scale.html b/LayoutTests/fast/repaint/fixed-in-page-scale.html |
index aa6b31d81d17cacb8e15989c5f1268b0a1768afa..f0f1b4482b01944f34362068a3052492f39d2b57 100644 |
--- a/LayoutTests/fast/repaint/fixed-in-page-scale.html |
+++ b/LayoutTests/fast/repaint/fixed-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> |