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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html

Issue 1455763002: Use union type in ImageBitmapFactories.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better argument passing Created 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html
index 3729653cab329ee91280a034b6220bf26c6cb1c4..2588f15ed455f858e6f1f8a97c1489046f70837a 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping.html
@@ -19,7 +19,7 @@ canvas.setAttribute("width", "250");
canvas.setAttribute("height", "200");
var ctx = canvas.getContext("2d");
-createImageBitmap(aCtx, 100, 100, 100, 100).then(function (imageBitmap) {
+createImageBitmap(aCanvas, 100, 100, 100, 100).then(function (imageBitmap) {
ctx.drawImage(imageBitmap, 0, 0);
ctx.drawImage(imageBitmap, 120, 0, 150, 150);
if (window.testRunner)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698