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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-transferable.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/webgl/texImage-imageBitmap-transferable.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-transferable.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-transferable.html
index 3ef54508285234facd4320c797b1c7318f2c2ce0..0eb2681652d239ee64fd0e153e8125947d3d6e7d 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-transferable.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-transferable.html
@@ -60,7 +60,7 @@ function generateTest()
// To test ImageBitmap with non-default options such as premultiplyAlpha=none,
// we need to use WebGL for testing because normal 2D canvas cannot tell the difference
// between a premultiplied/unpremultiplied ImageBitmap.
- createImageBitmap(image, {imageOrientation: "flipY", premultiplyAlpha: "none"}).then(function(imageBitmap) {
+ createImageBitmap(image, {imageOrientation: "flipY", premultiplyAlpha: "none", colorSpaceConversion: "none"}).then(function(imageBitmap) {
var replyPromise = postToWorker(imageBitmap, [imageBitmap]);
replyPromise.then(reply => {
var retVal = {testPassed: true, alpha: 0.5};

Powered by Google App Engine
This is Rietveld 408576698