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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality.html

Issue 1511113004: Remove SK_SUPPORT_LEGACY_HQ_DOWNSAMPLING (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser_tests rebaseline Created 4 years, 10 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/css3/masking/mask-repeat-round-content-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality.html
index c02d6e55f0b35bafa586b7078c1664d77907244e..6e5226570b195d14d593a8a813d49a867f75c0f4 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality.html
@@ -80,13 +80,15 @@ var noFilterData = scaleImageData(lowCanvas, lowCanvas.imageSmoothingQuality);
debug("");
shouldNotBe("lowData", "mediumData");
-shouldNotBe("mediumData", "highData");
+// Skia uses mipmaps when downscaling, for both high and medium quality
+shouldBe("mediumData", "highData");
shouldNotBe("lowData", "highData");
debug("");
shouldBeGreaterThan("sampleAlpha(noFilterData)", "sampleAlpha(lowData)");
shouldBeGreaterThan("sampleAlpha(lowData)", "sampleAlpha(mediumData)");
-shouldBeGreaterThan("sampleAlpha(mediumData)", "sampleAlpha(highData)");
+// Skia uses mipmaps when downscaling, for both high and medium quality
+shouldBe("sampleAlpha(mediumData)", "sampleAlpha(highData)");
debug("\n\nOn setting, it must be set to the new value.");
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/masking/mask-repeat-round-content-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698