Sign in
chromium
/
chromium
/
src.git
/
61.0.3140.1
/
.
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
canvas
/
webgl
/
resources
/
imageBitmap-transferable.js
blob: 573d88b53de87b3d5cbc28b0bffe01b60d1a7cc0 [
file
] [
log
] [
blame
]
self
.
onmessage
=
function
(
e
)
{
createImageBitmap
(
e
.
data
,
{
imageOrientation
:
"none"
,
premultiplyAlpha
:
"none"
}).
then
(
imageBitmap
=>
{
postMessage
(
imageBitmap
,
[
imageBitmap
]);
});
};