Index: third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change2.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change2.html b/third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change2.html |
index f8ae3a84aafab77a1f46a8d82c8898bfe1c349b4..76c2a2edd82e53078e45450d5370642605b81b71 100644 |
--- a/third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change2.html |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/window-resize-no-layout-change2.html |
@@ -1,11 +1,8 @@ |
<!DOCTYPE html> |
<script src="resources/window-resize-repaint.js"></script> |
-<script> |
-if (window.internals) { |
- internals.settings.setOverlayScrollbarsEnabled(true); |
- internals.settings.setMockScrollbarsEnabled(true); |
-} |
-</script> |
+<style> |
+ html { overflow: hidden; } |
+</style> |
<div style="position: absolute; width: 2000px; height: 2000px; background-color: blue"> |
<div style="width: 20%; height: 20%; background-color: yellow"> |
</div> |