storage: Port Reply senders to GenericSender (#38999)

Port the reply / back channels of StorageThreadMsg to GenericChannel.

Testing: No functional changes
Part of #38912

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender 2025-08-28 19:51:00 +02:00 committed by GitHub
parent ef544a4db4
commit a24e13184f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 30 additions and 25 deletions

View file

@ -5,6 +5,7 @@
use std::cell::Cell;
use std::ptr;
use base::generic_channel;
use base::generic_channel::GenericSend;
use base::id::{BrowsingContextId, PipelineId, WebViewId};
use constellation_traits::{
@ -348,7 +349,7 @@ impl WindowProxy {
// the session storage is copied over.
// See https://html.spec.whatwg.org/multipage/#the-sessionstorage-attribute
let (sender, receiver) = ipc::channel().unwrap();
let (sender, receiver) = generic_channel::channel().unwrap();
let msg = StorageThreadMsg::Clone {
sender,