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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-no-alpha.html

Issue 1913213003: Raname ImageBitmapRenderingContext's transferImageBitmap to transferFromImageBitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reset test results Created 4 years, 8 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/imagebitmap/transferImageBitmap-no-alpha.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-no-alpha.html b/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-no-alpha.html
deleted file mode 100644
index f42c59f292954c3547f8dcf509a2790cdd974be8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-no-alpha.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<canvas id = 'dstCanvas' width='100' height='100' style='background-color:red;'></canvas>
-<script>
-if (window.testRunner) {
- testRunner.waitUntilDone();
-}
-var srcCanvas = document.createElement('canvas');
-srcCanvas.width = srcCanvas.height = 100;
-var ctx = srcCanvas.getContext('2d');
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 100);
-createImageBitmap(srcCanvas).then(consumeImageBitmap)
-
-function consumeImageBitmap(image) {
- var dstCanvas = document.getElementById('dstCanvas');
- var dstCtx = dstCanvas.getContext('bitmaprenderer', { alpha: false });
- dstCtx.transferImageBitmap(image);
- if (window.testRunner) {
- testRunner.notifyDone();
- }
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698