mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
script: Migrate swmanager to GenericChannel (#39076)
Migrate `ServiceWorkerMsg` and `SWManagerMsg` to GenericChannel Testing: Covered by service worker wpt tests Part of #38912 Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
93aeac056b
commit
ce8b05738c
6 changed files with 44 additions and 34 deletions
|
@ -155,7 +155,7 @@ pub struct InitialPipelineState {
|
|||
pub bluetooth_thread: IpcSender<BluetoothRequest>,
|
||||
|
||||
/// A channel to the service worker manager thread
|
||||
pub swmanager_thread: IpcSender<SWManagerMsg>,
|
||||
pub swmanager_thread: GenericSender<SWManagerMsg>,
|
||||
|
||||
/// A proxy to the system font service, responsible for managing the list of system fonts.
|
||||
pub system_font_service: Arc<SystemFontServiceProxy>,
|
||||
|
@ -481,7 +481,7 @@ pub struct UnprivilegedPipelineContent {
|
|||
devtools_ipc_sender: Option<IpcSender<ScriptToDevtoolsControlMsg>>,
|
||||
#[cfg(feature = "bluetooth")]
|
||||
bluetooth_thread: IpcSender<BluetoothRequest>,
|
||||
swmanager_thread: IpcSender<SWManagerMsg>,
|
||||
swmanager_thread: GenericSender<SWManagerMsg>,
|
||||
system_font_service: SystemFontServiceProxySender,
|
||||
resource_threads: ResourceThreads,
|
||||
time_profiler_chan: time::ProfilerChan,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue