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

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

Issue 252353002: FCMify text-based-repaint layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Mac expectations Created 6 years, 8 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/as-image/set-img-height-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/resources/text-based-repaint.js
diff --git a/LayoutTests/fast/repaint/resources/text-based-repaint.js b/LayoutTests/fast/repaint/resources/text-based-repaint.js
index c9526652ffb5a46476707a6f2f0a0a4c4c977fa2..722ab74d746c4cc13e900a9483799ee38b45c881 100644
--- a/LayoutTests/fast/repaint/resources/text-based-repaint.js
+++ b/LayoutTests/fast/repaint/resources/text-based-repaint.js
@@ -9,6 +9,8 @@ function runRepaintTest()
return;
}
+ window.internals.settings.setForceCompositingMode(true);
+
if (window.enablePixelTesting)
testRunner.dumpAsTextWithPixelResults();
else
@@ -47,7 +49,7 @@ function finishRepaintTest()
// Force a style recalc.
forceStyleRecalc();
- var repaintRects = window.internals.repaintRectsAsText(document);
+ var repaintRects = window.internals.layerTreeAsText(document, window.internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
internals.stopTrackingRepaints(document);
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/as-image/set-img-height-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698