aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/worker.rs
diff options
context:
space:
mode:
authorMaharsh <maharsh312@gmail.com>2019-05-14 02:15:20 -0400
committerJosh Matthews <josh@joshmatthews.net>2019-05-22 10:24:54 -0400
commit85c20db495b25af653e6cb77130e166fae8d4b20 (patch)
treec19296c2d3108b6ca59a4ecb8ca3e12cf2a0389b /components/script/dom/worker.rs
parent6fb7a8cdc787abf7c69304d3186b0a318ef25412 (diff)
downloadservo-85c20db495b25af653e6cb77130e166fae8d4b20.tar.gz
servo-85c20db495b25af653e6cb77130e166fae8d4b20.zip
Extract canvas operations for reuse by OffscreenCanvas.
Diffstat (limited to 'components/script/dom/worker.rs')
-rw-r--r--components/script/dom/worker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/worker.rs b/components/script/dom/worker.rs
index 28b5715df89..3914ef59fe7 100644
--- a/components/script/dom/worker.rs
+++ b/components/script/dom/worker.rs
@@ -125,6 +125,7 @@ impl Worker {
String::from(&*worker_options.name),
worker_options.type_,
closing,
+ global.image_cache(),
);
Ok(worker)