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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html

Issue 1809603004: Use ImageDecoder for createImageBitmap(HTMLImageElement, premultiplyAlpha=false) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: halfRed-->darkRed Created 4 years, 9 months 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/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html
index 97cd5fdb5922207b7df80db71dbe81fb59a8150b..f0dee08208cacf8b13301dcf454cd9b53c42c578 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-image-bitmap-from-canvas.html
@@ -18,8 +18,8 @@ var pixelType = "UNSIGNED_BYTE";
var redColor = [255, 0, 0];
var greenColor = [0, 255, 0];
var blackColor = [0, 0, 0];
-var halfRed = [128, 0, 0];
-var halfGreen = [0, 128, 0];
+var darkRed = [26, 0, 0];
+var darkGreen = [0, 26, 0];
function promiseRejected()
{
@@ -40,11 +40,11 @@ function setCanvasToRedGreen(ctx) {
var halfHeight = Math.floor(height / 2);
ctx.fillStyle = "rgba(255, 0, 0, 1)";
ctx.fillRect(0, 0, halfWidth, halfHeight);
- ctx.fillStyle = "rgba(255, 0, 0, 0.5)";
+ ctx.fillStyle = "rgba(255, 0, 0, 0.1)";
ctx.fillRect(halfWidth, 0, halfWidth, halfHeight);
ctx.fillStyle = "rgba(0, 255, 0, 1)";
ctx.fillRect(0, halfHeight, halfWidth, halfHeight);
- ctx.fillStyle = "rgba(0, 255, 0, 0.5)";
+ ctx.fillStyle = "rgba(0, 255, 0, 0.1)";
ctx.fillRect(halfWidth, halfHeight, halfWidth, halfHeight);
}

Powered by Google App Engine
This is Rietveld 408576698