| Index: third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-video.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-video.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-video.html
|
| index f0ee8c88be79da6498b5cf18ede33e07adde2b0e..77b345068b2e45e1e4e9e9ba2e1fd5c0ec4893d7 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-video.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-video.html
|
| @@ -50,9 +50,12 @@ function generateTest()
|
| var p5 = createImageBitmap(video, {imageOrientation: "flipY", premultiplyAlpha: "premultiply"}).then(function(imageBitmap) { bitmaps.flipYPremul = imageBitmap });
|
| var p6 = createImageBitmap(video, {imageOrientation: "flipY", premultiplyAlpha: "default"}).then(function(imageBitmap) { bitmaps.flipYDefault = imageBitmap });
|
| var p7 = createImageBitmap(video, {imageOrientation: "flipY", premultiplyAlpha: "none"}).then(function(imageBitmap) { bitmaps.flipYUnpremul = imageBitmap });
|
| - Promise.all([p1, p2, p3, p4, p5, p6, p7]).then(function() {
|
| + var p8 = createImageBitmap(video).then(function(imageBitmap) { bitmaps.colorspaceDef = imageBitmap });
|
| + var p9 = createImageBitmap(video, {colorspaceConversion: "none"}).then(function(imageBitmap) { bitmaps.colorspaceNone = imageBitmap });
|
| + var p10 = createImageBitmap(video, {colorspaceConversion: "default"}).then(function(imageBitmap) { bitmaps.colorspaceDefault = imageBitmap });
|
| + Promise.all([p1, p2, p3, p4, p5, p6, p7, p8, p9, p10]).then(function() {
|
| var alphaVal = 1;
|
| - var testPassed = runTest(bitmaps, alphaVal);
|
| + var testPassed = runTest(bitmaps, alphaVal, false);
|
| if (testPassed)
|
| pass();
|
| finishJSTest();
|
|
|