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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html

Issue 2845193002: Refactor ImageBitmap constructor from ImageData to be color managed
Patch Set: local commit - all working except unpremultiply Created 3 years, 6 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/canvas-createImageBitmap-out-of-bounds-src.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html
index a307dd8ad45a63619fc73c6ecd7452afdb8e2122..e1febb67c09c67b7439e8232787976ec746a9390 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html
@@ -46,6 +46,7 @@ function imageBitmapCallback(ctx) {
var ctx = ctx;
return function(imageBitmap) {
pending--;
+ // ctx.drawImage(imageBitmap, 0, 0, 50, 50);
ctx.drawImage(imageBitmap, -100, -100, 300, 300, -25, -25, 300, 300);
ctx.drawImage(imageBitmap, -100, -100, 200, 200, -25, -25, 100, 100);
ctx.drawImage(imageBitmap, 0, -100, 100, 200, 75, -25, 100, 100);

Powered by Google App Engine
This is Rietveld 408576698