diff options
author | Keith Yeung <kungfukeith11@gmail.com> | 2017-10-21 06:39:23 -0700 |
---|---|---|
committer | Keith Yeung <kungfukeith11@gmail.com> | 2017-10-23 11:19:35 -0700 |
commit | c6bb1cb9d553c13a20dace3e32b9643c433caa1e (patch) | |
tree | 0d0e46e00362136c6c7d62dc76accce9d37e27cc /components/script/stylesheet_loader.rs | |
parent | 48c715c1c86301d0f25e70d3e690d04d8303c58f (diff) | |
download | servo-c6bb1cb9d553c13a20dace3e32b9643c433caa1e.tar.gz servo-c6bb1cb9d553c13a20dace3e32b9643c433caa1e.zip |
Merge request type and destination
Diffstat (limited to 'components/script/stylesheet_loader.rs')
-rw-r--r-- | components/script/stylesheet_loader.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/stylesheet_loader.rs b/components/script/stylesheet_loader.rs index 3444cb0af02..094eff5b022 100644 --- a/components/script/stylesheet_loader.rs +++ b/components/script/stylesheet_loader.rs @@ -21,7 +21,7 @@ use hyper_serde::Serde; use ipc_channel::ipc; use ipc_channel::router::ROUTER; use net_traits::{FetchResponseListener, FetchMetadata, FilteredMetadata, Metadata, NetworkError, ReferrerPolicy}; -use net_traits::request::{CorsSettings, CredentialsMode, Destination, RequestInit, RequestMode, Type as RequestType}; +use net_traits::request::{CorsSettings, CredentialsMode, Destination, RequestInit, RequestMode}; use network_listener::{NetworkListener, PreInvoke}; use parking_lot::RwLock; use servo_arc::Arc; @@ -247,7 +247,6 @@ impl<'a> StylesheetLoader<'a> { let request = RequestInit { url: url.clone(), - type_: RequestType::Style, destination: Destination::Style, // https://html.spec.whatwg.org/multipage/#create-a-potential-cors-request // Step 1 |