aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/worklet.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-11-20 16:16:13 -0500
committerGitHub <noreply@github.com>2019-11-20 16:16:13 -0500
commitdc22a78cc28a06e4192414974722748a034c93f1 (patch)
tree1d1f7307933291efa64ee4bdace17b5c604a6c07 /components/script/dom/worklet.rs
parentf6348b8b54a1586b291bd4858df94050e05706c0 (diff)
parent84f16eae98fee221a1a4754c126d08b2a86a35ff (diff)
downloadservo-dc22a78cc28a06e4192414974722748a034c93f1.tar.gz
servo-dc22a78cc28a06e4192414974722748a034c93f1.zip
Auto merge of #24757 - Akash-Pateria:async-wasm-compilation-subsequent, r=jdm
Async wasm compilation event loop integration The PR contains changes related to binding the runnable dispatching in script_runtime and is part of the Asynchronous WebAssembly Compilation fix. This is the first step in the subsequent steps mentioned in the [wiki](https://github.com/servo/servo/wiki/Asynchronous-WebAssembly-compilation-project). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes are part of #21476 fix
Diffstat (limited to 'components/script/dom/worklet.rs')
-rw-r--r--components/script/dom/worklet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/worklet.rs b/components/script/dom/worklet.rs
index e882566e07f..196864f5527 100644
--- a/components/script/dom/worklet.rs
+++ b/components/script/dom/worklet.rs
@@ -477,7 +477,7 @@ impl WorkletThread {
global_init: init.global_init,
global_scopes: HashMap::new(),
control_buffer: None,
- runtime: new_rt_and_cx(),
+ runtime: new_rt_and_cx(None),
should_gc: false,
gc_threshold: MIN_GC_THRESHOLD,
});