diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-08-12 14:46:25 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-08-12 18:37:27 +0200 |
commit | 7ad51dcd7aff7658914bcbdde0800fc2f87d9fa5 (patch) | |
tree | 7c3323204e3fb5d85edcb95b97748962e3978ae1 /components/gfx/font_cache_thread.rs | |
parent | a22913569c2fa917015b23c27cb2f55de2a69ff2 (diff) | |
download | servo-7ad51dcd7aff7658914bcbdde0800fc2f87d9fa5.tar.gz servo-7ad51dcd7aff7658914bcbdde0800fc2f87d9fa5.zip |
Update serde to 0.8 (fixes #12659)
Diffstat (limited to 'components/gfx/font_cache_thread.rs')
-rw-r--r-- | components/gfx/font_cache_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/font_cache_thread.rs b/components/gfx/font_cache_thread.rs index 4ba4af2b39f..9b761900a80 100644 --- a/components/gfx/font_cache_thread.rs +++ b/components/gfx/font_cache_thread.rs @@ -229,7 +229,7 @@ impl FontCache { Ok(ref metadata) => { metadata.content_type.as_ref().map_or(false, |content_type| { let mime = &content_type.0; - is_supported_font_type(&mime.0, &mime.1) + is_supported_font_type(&(mime.0).0, &mime.1) }) } Err(_) => false, |