diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-11-02 15:48:23 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-11-24 11:46:24 +0100 |
commit | fb1279ec3a97c16b17ee9ae3add69152029a4bc0 (patch) | |
tree | ecdaf182c5a1748a38238f5e70b5885e531a81bd /components/net_traits/lib.rs | |
parent | ce24edc2b363389c3af138622e5ac88d1dd09d2c (diff) | |
download | servo-fb1279ec3a97c16b17ee9ae3add69152029a4bc0.tar.gz servo-fb1279ec3a97c16b17ee9ae3add69152029a4bc0.zip |
Remove CoreResourceMsg::Load.
Also remove now-dead code that rustc warns about.
It turns out that we lost support for some of our custom URL schemes; I intend
to reimplement them, but I believe this will be significantly easier to do
once the legacy code is out of the way.
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r-- | components/net_traits/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index 9439102bf0c..a0ebcdde088 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -414,8 +414,6 @@ pub struct WebSocketConnectData { #[derive(Deserialize, Serialize)] pub enum CoreResourceMsg { - /// Request the data associated with a particular URL - Load(LoadData, LoadConsumer, Option<IpcSender<ResourceId>>), Fetch(RequestInit, IpcSender<FetchResponseMsg>), /// Try to make a websocket connection to a URL. WebsocketConnect(WebSocketCommunicate, WebSocketConnectData), |