mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove use of util::opts from resource_thread
This commit is contained in:
parent
c1409af543
commit
1662e292d8
4 changed files with 43 additions and 21 deletions
|
@ -239,7 +239,8 @@ fn create_constellation(opts: opts::Opts,
|
|||
let (public_resource_threads, private_resource_threads) =
|
||||
new_resource_threads(opts.user_agent.clone(),
|
||||
devtools_chan.clone(),
|
||||
time_profiler_chan.clone());
|
||||
time_profiler_chan.clone(),
|
||||
opts.config_dir.map(Into::into));
|
||||
let image_cache_thread = new_image_cache_thread(public_resource_threads.sender(),
|
||||
webrender_api_sender.as_ref().map(|wr| wr.create_api()));
|
||||
let font_cache_thread = FontCacheThread::new(public_resource_threads.sender(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue