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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-ImageBitmap-transferable.js

Issue 1413723004: Revert of Make ImageBitmap Transferable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/resources/canvas-ImageBitmap-transferable.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-ImageBitmap-transferable.js b/third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-ImageBitmap-transferable.js
deleted file mode 100644
index 703f79312a2aabdf9ee587356d5eea9a12e0e23f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-ImageBitmap-transferable.js
+++ /dev/null
@@ -1,12 +0,0 @@
-self.onmessage = function(e) {
- // Worker does two things:
- // 1. call createImageBitmap() from the ImageBitmap that is transfered
- // from the main thread, which verifies that createImageBitmap(ImageBitmap)
- // works on the worker thread.
- // 2. send the created ImageBitmap back to the main thread, the
- // main thread exam the property of this ImageBitmap to make sure
- // the transfer between main and worker thread didn't lose data
- createImageBitmap(e.data.data).then(imageBitmap => {
- postMessage({data: imageBitmap}, [imageBitmap]);
- });
-};

Powered by Google App Engine
This is Rietveld 408576698