diff options
author | Simon Wülker <simon.wuelker@arcor.de> | 2025-05-15 22:20:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-15 20:20:55 +0000 |
commit | 33a68eb2d59267e24f086f669456c5785f035d9e (patch) | |
tree | 89c73a8ad0723522654c9676e0883ca50a0bdaa8 /components | |
parent | f7b16730be3afdd7424a7ad38e316de47a681384 (diff) | |
download | servo-33a68eb2d59267e24f086f669456c5785f035d9e.tar.gz servo-33a68eb2d59267e24f086f669456c5785f035d9e.zip |
Remove `CoreResourceMsg::Synchronize` (#37019)
This message is unused.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'components')
-rw-r--r-- | components/net/resource_thread.rs | 3 | ||||
-rw-r--r-- | components/shared/net/lib.rs | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/components/net/resource_thread.rs b/components/net/resource_thread.rs index d361d63f44a..4077256d6ca 100644 --- a/components/net/resource_thread.rs +++ b/components/net/resource_thread.rs @@ -445,9 +445,6 @@ impl ResourceChannelManager { history_states.remove(&history_state); } }, - CoreResourceMsg::Synchronize(sender) => { - let _ = sender.send(()); - }, CoreResourceMsg::ClearCache => { http_state.http_cache.write().unwrap().clear(); }, diff --git a/components/shared/net/lib.rs b/components/shared/net/lib.rs index 05ad102f42f..0126bdbcd80 100644 --- a/components/shared/net/lib.rs +++ b/components/shared/net/lib.rs @@ -517,8 +517,6 @@ pub enum CoreResourceMsg { SetHistoryState(HistoryStateId, Vec<u8>), /// Removes history states for the given ids RemoveHistoryStates(Vec<HistoryStateId>), - /// Synchronization message solely for knowing the state of the ResourceChannelManager loop - Synchronize(IpcSender<()>), /// Clear the network cache. ClearCache, /// Send the service worker network mediator for an origin to CoreResourceThread |