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

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

Issue 2522693002: Color correct ImageBitmap(HTMLImageElement*) constructor (Closed)
Patch Set: Removing ImageDecoder::globalTargetColorSpace() calls for now Created 4 years, 1 month 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/canvas/canvas-createImageBitmap-colorClamping.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html
index 2588f15ed455f858e6f1f8a97c1489046f70837a..2fc8843e8a318501831bcb1dd90a267529a081cb 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html
@@ -19,7 +19,7 @@ canvas.setAttribute("width", "250");
canvas.setAttribute("height", "200");
var ctx = canvas.getContext("2d");
-createImageBitmap(aCanvas, 100, 100, 100, 100).then(function (imageBitmap) {
+createImageBitmap(aCanvas, 100, 100, 100, 100, {colorSpaceConversion: "none"}).then(function (imageBitmap) {
ctx.drawImage(imageBitmap, 0, 0);
ctx.drawImage(imageBitmap, 120, 0, 150, 150);
if (window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698