Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js

Issue 2049263003: Check rect under-invalidations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ImageQuality
Patch Set: x Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js b/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
index b038ff9088c90841e7470c9e11eaf4884c6b97dc..cbdccad1397b9a669071812d3e8290931cdb3649 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
+++ b/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
@@ -8,8 +8,15 @@ window.generateMinimumRepaint = false; // See comments about 'Minimum repaint' b
if (window.testRunner)
testRunner.waitUntilDone();
-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 runRepaintTest()
{
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698