mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
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:
parent
ef544a4db4
commit
a24e13184f
5 changed files with 30 additions and 25 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue