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/gfx/font_cache_thread.rs | |
parent | 48c715c1c86301d0f25e70d3e690d04d8303c58f (diff) | |
download | servo-c6bb1cb9d553c13a20dace3e32b9643c433caa1e.tar.gz servo-c6bb1cb9d553c13a20dace3e32b9643c433caa1e.zip |
Merge request type and destination
Diffstat (limited to 'components/gfx/font_cache_thread.rs')
-rw-r--r-- | components/gfx/font_cache_thread.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/gfx/font_cache_thread.rs b/components/gfx/font_cache_thread.rs index 39fd210091e..c402610369f 100644 --- a/components/gfx/font_cache_thread.rs +++ b/components/gfx/font_cache_thread.rs @@ -7,7 +7,7 @@ use font_template::{FontTemplate, FontTemplateDescriptor}; use fontsan; use ipc_channel::ipc::{self, IpcReceiver, IpcSender}; use net_traits::{CoreResourceThread, FetchResponseMsg, fetch_async}; -use net_traits::request::{Destination, RequestInit, Type as RequestType}; +use net_traits::request::{Destination, RequestInit}; use platform::font_context::FontContextHandle; use platform::font_list::SANS_SERIF_FONT_FAMILY; use platform::font_list::for_each_available_family; @@ -237,7 +237,6 @@ impl FontCache { let request = RequestInit { url: url.clone(), - type_: RequestType::Font, destination: Destination::Font, // TODO: Add a proper origin - Can't import GlobalScope from gfx // We can leave origin to be set by default |