aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch/methods.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-04-03 14:00:36 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-04-03 14:00:36 +0200
commit64ba597a3a92cf6fe2c69a92626c70e710468a69 (patch)
tree83b1694ebecec867db527f343f890339c79aa609 /components/net/fetch/methods.rs
parent8683f4d43e776418024684beae53aead7fe1ad59 (diff)
downloadservo-64ba597a3a92cf6fe2c69a92626c70e710468a69.tar.gz
servo-64ba597a3a92cf6fe2c69a92626c70e710468a69.zip
Move Arc out of HttpState
Diffstat (limited to 'components/net/fetch/methods.rs')
-rw-r--r--components/net/fetch/methods.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs
index 438a630e4f9..e824d09d0bf 100644
--- a/components/net/fetch/methods.rs
+++ b/components/net/fetch/methods.rs
@@ -41,7 +41,7 @@ pub enum Data {
}
pub struct FetchContext {
- pub state: HttpState,
+ pub state: Arc<HttpState>,
pub user_agent: Cow<'static, str>,
pub devtools_chan: Option<Sender<DevtoolsControlMsg>>,
pub filemanager: FileManager,