summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-10 19:08:02 -0700
committerGitHub <noreply@github.com>2024-02-10 19:08:02 -0700
commit26d9b2f3174030138a13bdb60c6c76a38fa0df19 (patch)
treebe524bf55f7cb0d7e7fdd761e4cd045d5dbf6f31 /runtime/web_worker.rs
parentf5e46c9bf2f50d66a953fa133161fc829cecff06 (diff)
chore: deno_core bump (#22379)
- Updates to V8 12.1.285.27 https://github.com/denoland/rusty_v8/pull/1383 - Swaps Box for Rc for `source_map_getter`
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index b21833a2e..a69c384ab 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -345,7 +345,7 @@ pub struct WebWorkerOptions {
pub npm_resolver: Option<Arc<dyn deno_node::NpmResolver>>,
pub create_web_worker_cb: Arc<ops::worker_host::CreateWebWorkerCb>,
pub format_js_error_fn: Option<Arc<FormatJsErrorFn>>,
- pub source_map_getter: Option<Box<dyn SourceMapGetter>>,
+ pub source_map_getter: Option<Rc<dyn SourceMapGetter>>,
pub worker_type: WebWorkerType,
pub maybe_inspector_server: Option<Arc<InspectorServer>>,
pub get_error_class_fn: Option<GetErrorClassFn>,