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

Unified Diff: third_party/WebKit/LayoutTests/resources/run-after-layout-and-paint.js

Issue 2093103003: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL for perf tryjob on mac 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
Index: third_party/WebKit/LayoutTests/resources/run-after-layout-and-paint.js
diff --git a/third_party/WebKit/LayoutTests/resources/run-after-layout-and-paint.js b/third_party/WebKit/LayoutTests/resources/run-after-layout-and-paint.js
index c69cc800f5ca6aad98fb351971fb7668c626a2cc..c6560aa21f3513ba47fc8be27c51934338d83902 100644
--- a/third_party/WebKit/LayoutTests/resources/run-after-layout-and-paint.js
+++ b/third_party/WebKit/LayoutTests/resources/run-after-layout-and-paint.js
@@ -21,6 +21,15 @@
// ... // some code which modifies style/layout
// }, true);
+if (window.internals) {
+ // 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 runAfterLayoutAndPaint(callback, autoNotifyDone) {
if (!window.testRunner) {
// For manual test. Delay 500ms to allow us to see the visual change
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/layout/InlineTextBoxTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698