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

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

Issue 2052563002: Add Settings::useDefaultImageInterpolationQuality and use it in repaint tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaseline some pixel tests containing scaled images 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/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 bec96aba5285bb819e82f237024587d9839faa67..b038ff9088c90841e7470c9e11eaf4884c6b97dc 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,6 +8,9 @@ window.generateMinimumRepaint = false; // See comments about 'Minimum repaint' b
if (window.testRunner)
testRunner.waitUntilDone();
+if (window.internals)
+ internals.settings.setUseDefaultImageInterpolationQuality(true);
+
function runRepaintTest()
{
if (!window.testRunner || !window.internals) {

Powered by Google App Engine
This is Rietveld 408576698