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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-structured-clone.html

Issue 2522693002: Color correct ImageBitmap(HTMLImageElement*) constructor (Closed)
Patch Set: Addressing comments. 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-structured-clone.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-structured-clone.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-structured-clone.html
index 8e40cee80310b3b2b245653851c5824ff2293a74..7d3de4d059fc4b9bfe591154260dd01be6a0afa3 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-structured-clone.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-structured-clone.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);
replyPromise.then(reply => {
var retVal = {testPassed: true, alpha: 0.5};

Powered by Google App Engine
This is Rietveld 408576698