| Index: third_party/WebKit/LayoutTests/fast/repaint/resources/window-resize-repaint.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/repaint/resources/window-resize-repaint.js b/third_party/WebKit/LayoutTests/fast/repaint/resources/window-resize-repaint.js
|
| index 72d4659f88982a6df091de3eca7b986701f5ca9a..8a20f527cad37515ef2212b599e270ac736d4aed 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/repaint/resources/window-resize-repaint.js
|
| +++ b/third_party/WebKit/LayoutTests/fast/repaint/resources/window-resize-repaint.js
|
| @@ -9,8 +9,15 @@ var testSizes = [
|
| var sizeIndex = 0;
|
| var repaintRects = "";
|
|
|
| -if (window.internals)
|
| +if (window.internals) {
|
| internals.settings.setUseDefaultImageInterpolationQuality(true);
|
| + // TODO(wangxianzhu): Some spv2 tests crash with under-invalidation-checking
|
| + // because the extra display items between Subsequence/EndSubsequence for
|
| + // under-invalidation checking breaks paint chunks. Should fix this when fixing
|
| + // crbug.com/596983.
|
| + if (!internals.runtimeFlags.slimmingPaintV2Enabled)
|
| + internals.runtimeFlags.slimmingPaintUnderInvalidationCheckingEnabled = true;
|
| +}
|
|
|
| function doTest() {
|
| if (sizeIndex) {
|
|
|