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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-no-alpha.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/imagebitmap/transferFromImageBitmap-no-alpha.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-no-alpha.html b/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-no-alpha.html
index 5e8490544580f20dc522a39702e2a21507842115..3af4bf6b18dd22d4bb1d5a3bcacf4f2b17874083 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-no-alpha.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-no-alpha.html
@@ -9,7 +9,7 @@ srcCanvas.width = srcCanvas.height = 100;
var ctx = srcCanvas.getContext('2d');
ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
ctx.fillRect(0, 0, 100, 100);
-createImageBitmap(srcCanvas).then(consumeImageBitmap)
+createImageBitmap(srcCanvas, {colorSpaceConversion: "none"}).then(consumeImageBitmap)
function consumeImageBitmap(image) {
var dstCanvas = document.getElementById('dstCanvas');
@@ -19,4 +19,4 @@ function consumeImageBitmap(image) {
testRunner.notifyDone();
}
}
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698